Skip to content

Commit

Permalink
WIP: NPM CI & Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
epeters-jrmngndr committed Aug 14, 2024
1 parent edfbad6 commit 9964cc6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/frontend.node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: './frontend/package-lock.json'
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 9964cc6

Please sign in to comment.