Skip to content

Commit

Permalink
fix: node workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dornelasnelson committed Jan 10, 2024
1 parent b3781ff commit bc211b6
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,19 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
run: npm ci
- name: Run build
run: npm run build --if-present
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test
run: npm cinpm install, build, lint and test

- name: Build, lint and test
run: |
npm run build --if-present
npm run lint
npm test
env:
CI: true

0 comments on commit bc211b6

Please sign in to comment.