Skip to content

Commit

Permalink
Update actions to v4, node inside runners to 22
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-curry committed Nov 19, 2024
1 parent 6247b05 commit d06c12f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: "22.x"
registry-url: "https://registry.npmjs.org"

- name: Get Version
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/scanners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Trufflehog
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Extract branch name
shell: bash
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
name: NPM Linter
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: NPM Build
run: npm install --frozen-lockfile
- run: set -eo pipefail; npm run lint 2>&1| tee ./linter-report.txt
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
name: NPM Prettier
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: NPM Build
run: npm install --frozen-lockfile
- run: set -eo pipefail; npm run prettier 2>&1| tee ./prettier-report.txt
Expand All @@ -54,7 +54,7 @@ jobs:
runs-on: ubuntu-latest
name: NPM Typecheck
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: NPM Build
run: npm install --frozen-lockfile
- run: set -eo pipefail; npm run typecheck 2>&1| tee ./typecheck-report.txt
Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
name: NPM Audit
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: set -eo pipefail; npm audit --omit=dev 2>&1| tee ./audit-report.txt
- uses: actions/upload-artifact@master
if: always()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
name: Tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: "22.x"
registry-url: "https://registry.npmjs.org"

- name: Install CLI
Expand Down

0 comments on commit d06c12f

Please sign in to comment.