tiptap/.github/workflows/run-tests.yml

24 lines
466 B
YAML
Raw Normal View History

2020-07-13 23:25:03 +08:00
name: run-tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
2020-07-13 23:35:45 +08:00
node-version: [10.x, 12.x, 14.x]
2020-07-13 23:25:03 +08:00
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn build:packages
- run: yarn audit-ci
- run: yarn lint
- run: yarn test