Skip to content

Commit

Permalink
Try node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
reconman committed Aug 7, 2024
1 parent bc34a94 commit 1d35b7f
Show file tree
Hide file tree
Showing 4 changed files with 6,424 additions and 7,158 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
deploy:
name: deploy
Expand All @@ -20,15 +17,19 @@ jobs:
image: public.ecr.aws/lambda/python:3.10
steps:
- run: yum install git -y
- uses: actions/checkout@v3
- run: |
dnf -y install nodejs20
mv /opt/actions-runner/externals/node20/bin/node /opt/actions-runner/externals/node20/bin/node-bak
ln -s /usr/bin/node-20 /opt/actions-runner/externals/node20/bin/node
- uses: actions/checkout@v4
- name: Install poetry
uses: abatilo/actions-poetry@v2
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x
- name: serverless deploy
run: |
npm i -g serverless@3.x
npm i -g serverless@4.x
npm ci
serverless deploy
env:
Expand Down
Loading

0 comments on commit 1d35b7f

Please sign in to comment.