Skip to content

Commit

Permalink
Upgarde to latest node LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Nov 20, 2024
1 parent f7180e2 commit 69a3d86
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup Node version
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Setup Git
run: |
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Test Changes
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Setup Node version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run build
- name: Run tests
run: npm test
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Setup Node version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm run build
- name: Run tests
run: npm test

0 comments on commit 69a3d86

Please sign in to comment.