mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-23 00:32:31 +01:00
* - update gitignore - add cypress configuration and example test * add integration tests to ci workflow * add note about running integration tests * Update docs/general/contributing.md Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update .gitignore Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update cypress.json Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * add baseUrl, remove goTo command Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
32 lines
602 B
YAML
32 lines
602 B
YAML
name: CI
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
ci:
|
|
name: ${{ matrix.command }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
command:
|
|
- 'test'
|
|
- 'test:integration'
|
|
- 'lint:eslint'
|
|
- 'lint:prettier'
|
|
- 'lint:typescript'
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup node
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 12
|
|
|
|
- name: Run ${{ matrix.command }}
|
|
run: yarn && yarn build && yarn ${{ matrix.command }}
|
|
env:
|
|
CI: true
|