File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Simple workflow for testing
2
+ name : Test
3
+
4
+ on :
5
+ # Runs on pushes targeting the default branch
6
+ push :
7
+ # Runs on pull requests targeting the default branch
8
+ pull_request :
9
+ branches : ['develop']
10
+
11
+ # Allows you to run this workflow manually from the Actions tab
12
+ workflow_dispatch :
13
+
14
+ # Sets the GITHUB_TOKEN permissions to allow testing
15
+ permissions :
16
+ contents : read
17
+
18
+ # Allow one concurrent test
19
+ concurrency :
20
+ group : ' test'
21
+ cancel-in-progress : true
22
+
23
+ jobs :
24
+ test :
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v4
29
+
30
+ - name : Setup pnpm
31
+ uses : pnpm/action-setup@v4
32
+ with :
33
+ version : 10.10.0
34
+
35
+ - name : Set up Node
36
+ uses : actions/setup-node@v4
37
+ with :
38
+ node-version : lts/*
39
+ cache : ' pnpm'
40
+
41
+ - name : Install dependencies
42
+ run : pnpm install --no-frozen-lockfile
43
+
44
+ - name : Test
45
+ run : pnpm run test
You can’t perform that action at this time.
0 commit comments