Debian Codegraph @

mixmark-io-domino/.github/workflows/tests.yml

raw symbols SCIP
1 name: Tests
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 types: [opened, synchronize]
9
10 permissions: {}
11
12 jobs:
13 unit-tests:
14 if: github.repository == 'mixmark-io/domino'
15 runs-on: ubuntu-latest
16 steps:
17 - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
18 with:
19 # Setting persist-credentials instructs actions/checkout not to persist the credentials
20 # in configuration or environment. Since we don't rely on the credentials used for
21 # checkout this is an improved security measure.
22 persist-credentials: false
23 submodules: true
24 - uses: actions/cache@v3
25 with:
26 path: /.yarn/cache
27 key: v1-${{hashFiles('yarn.lock')}}
28 - run: yarn install --immutable
29 - run: yarn mocha -R spec