gatsby-redirect-from/.github/workflows/ci.yml

30 lines
479 B
YAML
Raw Normal View History

2021-01-31 23:30:20 +01:00
name: 'CI'
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
2021-01-31 23:39:06 +01:00
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: ['14']
2021-01-31 23:30:20 +01:00
steps:
- uses: actions/checkout@v2
2021-02-01 00:06:30 +01:00
- uses: actions/setup-node@v2
2021-01-31 23:30:20 +01:00
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
- run: npm run build