File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : tests
2
+
3
+ # Controls when the action will run. Triggers the workflow on push or pull request
4
+ # events but only for the main branch
5
+ on :
6
+ push :
7
+ branches :
8
+ - main
9
+ pull_request :
10
+ branches :
11
+ - main
12
+
13
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14
+ jobs :
15
+ # This workflow contains a single job called "build"
16
+ test :
17
+ # The type of runner that the job will run on
18
+ runs-on : ubuntu-18.04
19
+
20
+ # Steps represent a sequence of tasks that will be executed as part of the job
21
+ steps :
22
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
+ - uses : actions/checkout@v2
24
+ with :
25
+ submodules : true
26
+
27
+ - name : Setup Node
28
+ uses : actions/setup-node@v1
29
+ with :
30
+ node-version : ' 14.x'
31
+
32
+ - name : Install PNPM
33
+ run : npm install -g pnpm
34
+
35
+ - name : Install Dependencies
36
+ run : pnpm i
37
+
38
+ - name : Test
39
+ run : pnpm test
You can’t perform that action at this time.
0 commit comments