Allow running test actions by hand #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: {} | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Check Formatting | |
run: yarn format --check | |
- name: Build mst-gql | |
run: yarn build | |
- name: Test mst-gql | |
run: yarn test:mst-gql | |
- name: Test Example 2 (Scaffolding) | |
run: yarn test:example-2 | |
- name: Test Example 6 (Hasura) | |
run: yarn test:example-6 | |
# - name: Test CRA (Create React App) | |
# run: yarn test:cra |