Skip to content

Ignore .DS_Store files and include lockfile #6

Ignore .DS_Store files and include lockfile

Ignore .DS_Store files and include lockfile #6

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- '**.md'
push:
paths-ignore:
- '**.md'
jobs:
cancel:
name: 'Cancel previous runs'
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
build:
name: 'Build and test'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm test