Skip to content

Commit

Permalink
fix: use Node 16 as runner (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredfrazao committed Oct 14, 2022
1 parent 9dc5341 commit cb63b1c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > test.txt
- run: npm ci
- run: npm run build
Expand All @@ -42,6 +46,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > test.txt
- run: npm ci
- run: npm run build
Expand Down Expand Up @@ -80,6 +88,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > file1.txt
- run: date > file2.txt
- run: npm ci
Expand Down Expand Up @@ -137,6 +149,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > test.txt
- run: npm ci
- run: npm run build
Expand All @@ -162,6 +178,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > .github/test.txt
- run: npm ci
- run: npm run build
Expand All @@ -178,6 +198,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > test.txt
- run: npm ci
- run: npm run build
Expand Down Expand Up @@ -243,6 +267,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- run: date > test.txt
- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ outputs:
description: "'updated', 'created', 'unchanged' based if the PR was created, updated or nothing happened"

runs:
using: "node12"
using: "node16"
main: "dist/index.js"

0 comments on commit cb63b1c

Please sign in to comment.