We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986481e commit cc8ccb0Copy full SHA for cc8ccb0
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,43 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - develop
7
+ - '**'
8
+ pull_request:
9
10
11
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: '20'
23
24
+ - name: Enable Corepack (Yarn v4)
25
+ run: corepack enable
26
27
+ - name: Cache Yarn cache
28
+ uses: actions/cache@v4
29
30
+ path: |
31
+ .yarn/cache
32
+ .yarn/unplugged
33
+ .yarn/build-state.yml
34
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
35
36
+ - name: Install dependencies
37
+ run: yarn install --immutable
38
39
+ - name: Build TypeScript
40
+ run: yarn build:ts
41
42
+ - name: Run tests
43
+ run: yarn test
0 commit comments