Skip to content

Commit

Permalink
Merge pull request #296 from equinor/ci/upgrade-gh-actions
Browse files Browse the repository at this point in the history
ci: upgrade gh workflow actions
  • Loading branch information
sefornes authored Jan 17, 2025
2 parents ff0a6f2 + b22ebfa commit 2620829
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
npm run lint
env:
CI: true
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm test
npm run lint
env:
CI: true

0 comments on commit 2620829

Please sign in to comment.