Skip to content

Commit

Permalink
Update node version to 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed Oct 3, 2024
1 parent 41687d9 commit bf75b11
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '16.x'
node-version: '22.x'

- name: Install node modules and verify build
run: npm ci && npm run build-release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-jasmine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js 16.x
- name: Use Node.js 22.x
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 16.x
node-version: 22.x
- run: npm ci
- run: npm install jasmine@${{ matrix.jasmine-version }} jasmine-core@${{ matrix.jasmine-version }} @types/jasmine@${{ matrix.jasmine-version }}
- run: npm test
4 changes: 2 additions & 2 deletions .github/workflows/test-jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js 16.x
- name: Use Node.js 22.x
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 16.x
node-version: 22.x
- run: npm ci
- run: npm install jest@${{ matrix.jest-version }} ts-jest@${{ matrix.jest-version }} @types/jest@${{ matrix.jest-version }} --legacy-peer-deps
- run: npm run test:jest
4 changes: 2 additions & 2 deletions .github/workflows/test-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Use Node.js 16.x
- name: Use Node.js 22.x
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 16.x
node-version: 22.x
- run: npm ci
- run: npm run build
- run: npm install typescript@${{ matrix.typescript-version }}
Expand Down

0 comments on commit bf75b11

Please sign in to comment.