Debian Codegraph @

.github/workflows/jest.yml

raw
1 name: jest
2 on:
3 workflow_dispatch:
4 push:
5 branches: 'main'
6 pull_request:
7 schedule:
8 - cron: '0 8 * * *'
9
10 concurrency:
11 group: jest-${{ github.ref }}
12 cancel-in-progress: true
13
14 jobs:
15 build:
16 runs-on: ubuntu-latest
17 strategy:
18 matrix:
19 node-version: [20.x]
20
21 steps:
22 - uses: actions/checkout@v4
23 - name: Use Node.js ${{ matrix.node-version }}
24 uses: actions/setup-node@v4
25 with:
26 node-version: ${{ matrix.node-version }}
27 - run: corepack enable
28 - run: yarn install
29 - run: yarn run test