test: automatically deploys trap canister if it doesn't exist yet dur… #1879
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: Check Formatting | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- edited | |
- synchronize | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
ghc: ['8.8.4'] | |
spec: | |
- release-0.16 # https://github.com/dfinity-lab/ic-ref/tree/release-0.16 | |
node: | |
- 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install -g npm | |
- run: npm ci | |
- run: npm run prettier:check | |
aggregate: | |
name: format:required | |
if: ${{ always() }} | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- name: check e2e test result | |
if: ${{ needs.test.result != 'success' }} | |
run: exit 1 |