Bump braces and jest #142
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: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['16', '18', '20'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: JorelAli/setup-elm@v2 | |
- name: Cache nodejs | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: nodejs-${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }} | |
- name: Cache elm | |
uses: actions/cache@v2 | |
with: | |
path: ~/.elm | |
key: elm-${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('test-asset/elm.json') }} | |
- name: Cache purescript | |
uses: actions/cache@v2 | |
with: | |
path: .spago | |
key: purescript-${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('spago.dhall') }}-${{ hashFiles('packages.dhall') }} | |
- run: elm make | |
working-directory: test-asset | |
continue-on-error: true | |
- run: make test-purs | |
- run: make test-ts |