Update dependency @types/node to v14.18.59 #179
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] | |
jobs: | |
test: | |
name: Test haskell codes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: haskell/actions/setup@v1 | |
id: haskell-setup | |
with: | |
ghc-version: "8.8.3" | |
enable-stack: true | |
stack-version: "2.5.1" | |
- name: Restore caches | |
uses: actions/cache@v2 | |
with: | |
path: | | |
${{steps.haskell-setup.outputs.stack-path}} | |
~/.stack | |
./.stack-work/ | |
key: ${{ runner.os }}-${{ hashFiles('**/package.yaml') }}-${{ hashFiles('**/onix.cabal') }}-${{ hashFiles('**/stack.yaml.lock') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- run: ls -lah ${{steps.haskell-setup.outputs.stack-path}} | |
- run: make test | |
e2e: | |
name: Test e2e | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 12.x | |
- name: Restore caches | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.npm | |
./node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- run: npm install | |
- run: npx bazelisk test //e2e/go:snapshot_test |