Skip to content

chore: updating tests for node 20 compatibility #1207

chore: updating tests for node 20 compatibility

chore: updating tests for node 20 compatibility #1207

Workflow file for this run

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@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install -g npm
- run: npm install prettier pretty-quick
- 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