From 8cee603f3bcc0224e8d29096ce08957e692f3ca7 Mon Sep 17 00:00:00 2001 From: Davide Violante Date: Tue, 31 May 2022 10:32:15 +0200 Subject: [PATCH] Upgrade to Node v16, Python v3.10 and switch back to slim image (#67) * Use python-nodejs:python3.10-nodejs16-slim * Update node and action versions --- Dockerfile | 2 +- README.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index a92a70a..bc3ae51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nikolaik/python-nodejs:python3.9-nodejs14-alpine +FROM nikolaik/python-nodejs:python3.10-nodejs16-slim LABEL version="1.0.0" LABEL repository="https://github.com/serverless/github-action" diff --git a/README.md b/README.md index bc6ffba..fac6fff 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm ci - name: serverless deploy - uses: serverless/github-action@v3 + uses: serverless/github-action@v3.1 with: args: deploy env: @@ -50,7 +50,7 @@ jobs: Change your action in this way, according to [this issue](https://github.com/serverless/github-action/issues/28), thanks to @matthewpoer: ```yaml - name: Install Plugin and Deploy - uses: serverless/github-action@v3 + uses: serverless/github-action@v3.1 with: args: -c "serverless plugin install --name && serverless deploy" entrypoint: /bin/sh @@ -60,7 +60,7 @@ Change your action in this way, according to [this issue](https://github.com/ser Change your action in this way, according to [this issue](https://github.com/serverless/github-action/issues/53#issuecomment-1059839383), thanks to @nikhuber: ```yaml - name: Enter dir and deploy - uses: serverless/github-action@v3 + uses: serverless/github-action@v3.1 with: args: -c "cd ./ && serverless deploy" entrypoint: /bin/sh