Skip to content

switch to esm javascript module imports #55

switch to esm javascript module imports

switch to esm javascript module imports #55

Workflow file for this run

on: [push]
name: CI
jobs:
stack:
name: Stack / GHC ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ghc: "9.4.5"
yaml: "stack.yaml"
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
enable-stack: true
stack-version: "latest"
- uses: actions/cache@v3
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ matrix.yaml }}
- name: Build
run: |
stack build --stack-yaml ${{matrix.yaml}} --system-ghc --test --bench --no-run-tests --no-run-benchmarks --fast
- name: Test
run: |
stack test --stack-yaml ${{matrix.yaml}} --system-ghc --fast