We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34cbe06 commit 4eaa533Copy full SHA for 4eaa533
.github/workflows/run-tests.yml
@@ -0,0 +1,23 @@
1
+name: Run tests
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [ master ]
7
+ paths:
8
+ - 'src/**'
9
+ - 'package.json'
10
+ - 'yarn.lock'
11
+ pull_request:
12
+ types: [opened, synchronize, reopened]
13
14
+jobs:
15
+ test:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '18'
22
+ cache: 'yarn'
23
+ - run: yarn && yarn build && yarn test
0 commit comments