Remove semicolons #4488
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: Tests | |
on: | |
push | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16.x] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: yarn --immutable --network-timeout 1000000 | |
- run: yarn test | |
integration: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16.x] | |
os: [ubuntu-latest, macos-latest] | |
environment: AcceptanceTests | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
ENABLE_NET_CONNECT: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: yarn --immutable --network-timeout 1500000 | |
- run: yarn lerna run test:integration | |
acceptance: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16.x] | |
os: [ubuntu-latest] | |
environment: AcceptanceTests | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
ENABLE_NET_CONNECT: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- run: yarn --immutable --network-timeout 1000000 | |
# on 'main' and 'release-' branches, these tests will be run as part of the acceptance tests. | |
- name: run smoke tests | |
if: github.ref_name != 'main' || !startsWith(github.ref_name, 'release-') | |
run: yarn lerna run test:smoke | |
# only run the full suite of acceptance tests on 'main' and 'release-' branches | |
- name: run acceptance tests | |
if: github.ref_name == 'main' || startsWith(github.ref_name, 'release-') | |
run: yarn lerna run test:acceptance | |
# dummy job needed to pass changeling compliance because it only watches one build | |
done: | |
runs-on: macos-latest | |
needs: [test, integration, acceptance] | |
steps: | |
- run: echo done | |
working-directory: / |