File tree Expand file tree Collapse file tree 3 files changed +179
-180
lines changed Expand file tree Collapse file tree 3 files changed +179
-180
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-22.04
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
15
- - name : Get yarn cache
16
- id : yarn-cache
17
- run : echo "::set-output name=dir::$(yarn cache dir)"
18
-
19
- - uses : actions/cache@v1
20
- name : Cache node modules of yarn
15
+ - uses : actions/setup-node@v3
21
16
with :
22
- path : ${{ steps.yarn-cache.outputs.dir }}
23
- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
24
- restore-keys : |
25
- ${{ runner.os }}-yarn-
17
+ node-version : 16
18
+ cache : yarn
19
+
20
+ - name : ACTIONS_ALLOW_UNSECURE_COMMANDS
21
+ id : ACTIONS_ALLOW_UNSECURE_COMMANDS
22
+ run : echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
26
23
27
- - name : wget
28
- run : mkdir ci-bin/ && wget -O ci-bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.8/cr
29
- - name : " permission"
30
- run : chmod +x ci-bin/cr
24
+ - name : add cr
25
+ run : |
26
+ mkdir -p $GITHUB_WORKSPACE/bin
27
+ wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.19/cr
28
+ chmod +x $GITHUB_WORKSPACE/bin/cr
29
+ echo "::add-path::$GITHUB_WORKSPACE/bin"
31
30
32
31
- name : " prepare modules"
33
32
run : >
@@ -41,12 +40,12 @@ jobs:
41
40
42
41
- name : " compiles to js"
43
42
run : >
44
- ./ci-bin/ cr --emit-js --once
43
+ cr --emit-js --once
45
44
&& yarn && yarn vite build --base=./
46
45
47
46
- name : Deploy to server
48
47
id : deploy
49
- uses : Pendect/action-rsyncer@v1.1 .0
48
+ uses : Pendect/action-rsyncer@v2.0 .0
50
49
env :
51
50
DEPLOY_KEY : ${{secrets.rsync_private_key}}
52
51
with :
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : {
3
- "@calcit/procs" : " ^0.6.8 " ,
3
+ "@calcit/procs" : " ^0.6.19 " ,
4
4
"cirru-color" : " ^0.2.3"
5
5
},
6
6
"devDependencies" : {
7
7
"bottom-tip" : " ^0.1.3" ,
8
- "vite" : " ^3.1 .4"
8
+ "vite" : " ^4.0 .4"
9
9
},
10
10
"version" : " 0.0.1"
11
11
}
You can’t perform that action at this time.
0 commit comments