File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 8
8
publish-npm :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v1
11
+ - uses : actions/checkout@v3
12
+
13
+ - uses : actions/setup-node@v3
13
14
with :
14
- node-version : 12
15
+ node-version : 18
16
+ cache : " yarn"
15
17
registry-url : https://registry.npmjs.org/
16
18
17
19
- run : yarn && yarn tsc && npm publish
Original file line number Diff line number Diff line change @@ -11,19 +11,20 @@ jobs:
11
11
test :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v3
15
15
16
- - name : Get yarn cache
17
- id : yarn-cache
18
- run : echo "::set-output name=dir::$(yarn cache dir)"
16
+ - uses : actions/setup-node@v3
17
+ with :
18
+ node-version : 18
19
+ cache : ' yarn'
19
20
20
21
- name : " compiles to js"
21
22
run : >
22
23
yarn && yarn tsc && yarn vite build --base=./
23
24
24
25
- name : Deploy to server
25
26
id : deploy
26
- uses : Pendect/action-rsyncer@v1.1 .0
27
+ uses : Pendect/action-rsyncer@v2.0 .0
27
28
env :
28
29
DEPLOY_KEY : ${{secrets.rsync_private_key}}
29
30
with :
You can’t perform that action at this time.
0 commit comments