Skip to content

Commit 8cee603

Browse files
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
1 parent 2789335 commit 8cee603

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nikolaik/python-nodejs:python3.9-nodejs14-alpine
1+
FROM nikolaik/python-nodejs:python3.10-nodejs16-slim
22

33
LABEL version="1.0.0"
44
LABEL repository="https://github.com/serverless/github-action"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
node-version: [14.x, 16.x]
30+
node-version: [16.x]
3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v1
34+
uses: actions/setup-node@v3
3535
with:
3636
node-version: ${{ matrix.node-version }}
3737
- run: npm ci
3838
- name: serverless deploy
39-
uses: serverless/github-action@v3
39+
uses: serverless/github-action@v3.1
4040
with:
4141
args: deploy
4242
env:
@@ -50,7 +50,7 @@ jobs:
5050
Change your action in this way, according to [this issue](https://github.com/serverless/github-action/issues/28), thanks to @matthewpoer:
5151
```yaml
5252
- name: Install Plugin and Deploy
53-
uses: serverless/github-action@v3
53+
uses: serverless/github-action@v3.1
5454
with:
5555
args: -c "serverless plugin install --name <plugin-name> && serverless deploy"
5656
entrypoint: /bin/sh
@@ -60,7 +60,7 @@ Change your action in this way, according to [this issue](https://github.com/ser
6060
Change your action in this way, according to [this issue](https://github.com/serverless/github-action/issues/53#issuecomment-1059839383), thanks to @nikhuber:
6161
```yaml
6262
- name: Enter dir and deploy
63-
uses: serverless/github-action@v3
63+
uses: serverless/github-action@v3.1
6464
with:
6565
args: -c "cd ./<your-dir> && serverless deploy"
6666
entrypoint: /bin/sh

0 commit comments

Comments
 (0)