File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : NPM Publish
2
2
3
- on : [push, pull_request ]
3
+ on : [push]
4
4
5
5
jobs :
6
6
automated_tests :
7
7
runs-on : ubuntu-latest
8
8
if : " !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') && github.ref !== main"
9
9
steps :
10
10
- uses : actions/checkout@v2
11
-
12
11
- name : Use Node.js 20.x
13
12
uses : actions/setup-node@v1
14
13
with :
15
14
node-version : 20.x
16
-
17
15
- name : Cache node modules
18
16
uses : actions/cache@v1
19
17
with :
20
18
path : node_modules
21
19
key : yarn-deps-${{ hashFiles('yarn.lock') }}
22
20
restore-keys : |
23
21
yarn-deps-${{ hashFiles('yarn.lock') }}
24
-
25
22
- name : Run tests
26
23
run : |
27
24
yarn install --frozen-lockfile
28
25
yarn test
29
-
30
26
release :
31
27
runs-on : ubuntu-latest
32
28
if : " !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
You can’t perform that action at this time.
0 commit comments