Skip to content

chore(deps): bump actions/setup-node from 3.5.0 to 4.0.2 (#65) #145

chore(deps): bump actions/setup-node from 3.5.0 to 4.0.2 (#65)

chore(deps): bump actions/setup-node from 3.5.0 to 4.0.2 (#65) #145

Workflow file for this run

name: CI
on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12, 14, 16]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Restore cached dependencies
uses: actions/[email protected]
with:
path: node_modules
key: node-modules-${{ hashFiles('package.json') }}
- name: Install dependencies
run: npm install
- name: Run Tests
run: npm run test-ci
# - name: Coveralls Parallel
# uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.github_token }}
# parallel: true
# flag-name: run-${{ matrix.node-version }}-${{ matrix.os }}
# coverage:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Coveralls Finished
# uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true
# automerge:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: fastify/[email protected]
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}