Skip to content

Merge pull request #37 from kakkun61/dependabot/npm_and_yarn/browseri… #141

Merge pull request #37 from kakkun61/dependabot/npm_and_yarn/browseri…

Merge pull request #37 from kakkun61/dependabot/npm_and_yarn/browseri… #141

Workflow file for this run

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