Skip to content

Commit

Permalink
chore: update GitHub Actions to use latest versions
Browse files Browse the repository at this point in the history
Updated the GitHub Actions workflow to use the latest versions of
actions/checkout and actions/setup-node. Also, changed the node version
to 20.x and replaced 'npm install' with 'npm ci' for faster and more
reliable builds.
  • Loading branch information
jlobos committed Nov 14, 2024
1 parent 390a1d1 commit 13684ca
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
node-version: "20.x"
- run: npm ci
- run: npm test

0 comments on commit 13684ca

Please sign in to comment.