Skip to content

chore(deps): bump actions/setup-node from 3 to 4 #1381

chore(deps): bump actions/setup-node from 3 to 4

chore(deps): bump actions/setup-node from 3 to 4 #1381

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
dependency-review:
name: Dependency Review
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Dependency review
uses: actions/dependency-review-action@v2
test:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
node-version: [16, 18, 20]
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install
run: |
npm install --ignore-scripts
- name: Check licenses
run: |
npm run license-checker
- name: Run tests
run: |
npm run test:ci
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true
flag-name: run-${{ matrix.node-version }}-${{ matrix.os }}
coverage:
needs: test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true