Skip to content

Commit

Permalink
node 18 isn't supported by github actions. Switch nodejs version to t…
Browse files Browse the repository at this point in the history
…arget 16 ~was 12 before PR merge so this is an improvement
  • Loading branch information
daryl-miller committed Mar 9, 2023
1 parent df0daf4 commit e8662bd
Show file tree
Hide file tree
Showing 5 changed files with 3,618 additions and 357 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 16
- run: npm --silent ci --quiet --no-progress --no-audit --unsafe-perm --loglevel warn
- run: npm run audit
- run: npm run lint
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 16
- run: npm --silent ci --quiet --no-progress --no-audit --unsafe-perm --loglevel warn
- uses: JS-DevTools/npm-publish@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.15.0
16
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ outputs:
status: # success/failure
description: 'If we succeeded or failed to login'
runs:
using: node18
using: node16
main: './action/action.js'
Loading

0 comments on commit e8662bd

Please sign in to comment.