File tree 3 files changed +36
-36
lines changed
3 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 26
26
# Deploy only to Github Pages if repository name ends with .github.io
27
27
if : ${{ github.event.repository.name == format('{0}.github.io', github.repository_owner) }}
28
28
env :
29
- deno-version : v1 .x
29
+ deno-version : v2 .x
30
30
page-root-directory : ' ./dist/'
31
31
32
32
runs-on : ubuntu-latest
35
35
uses : actions/checkout@v4
36
36
37
37
- name : Setup Deno (${{env.deno-version}})
38
- uses : denoland/setup-deno@v1
38
+ uses : denoland/setup-deno@v2
39
39
with :
40
40
deno-version : ${{env.deno-version}}
41
41
Original file line number Diff line number Diff line change 1
- name : Run Linter
2
-
3
- on :
4
- push :
5
- branches : ["main"]
6
-
7
- workflow_dispatch :
8
-
9
- permissions :
10
- contents : read
11
- pages : write
12
- checks : write
13
-
14
- jobs :
15
- lint :
16
- name : Lint
17
- runs-on : ubuntu-latest
18
- env :
19
- deno-version : v1 .x
20
-
21
- steps :
22
- - name : Setup Repository (${{github.event.repository.name}})
23
- uses : actions/checkout@v4
24
-
25
- - name : Setup Deno (${{env.deno-version}})
26
- uses : denoland/setup-deno@v1.1.4
27
- with :
28
- deno-version : ${{env.deno-version}}
29
-
30
- - name : Run Linter
31
- run : deno task lint
32
-
1
+ name : Run Linter
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ checks : write
13
+
14
+ jobs :
15
+ lint :
16
+ name : Lint
17
+ runs-on : ubuntu-latest
18
+ env :
19
+ deno-version : v2 .x
20
+
21
+ steps :
22
+ - name : Setup Repository (${{github.event.repository.name}})
23
+ uses : actions/checkout@v4
24
+
25
+ - name : Setup Deno (${{env.deno-version}})
26
+ uses : denoland/setup-deno@v2
27
+ with :
28
+ deno-version : ${{env.deno-version}}
29
+
30
+ - name : Run Linter
31
+ run : deno task lint
32
+
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
16
16
name : Unit Test
17
17
runs-on : ubuntu-latest
18
18
env :
19
- deno-version : v1 .x
19
+ deno-version : v2 .x
20
20
21
21
steps :
22
22
- name : Setup Repository (${{github.event.repository.name}})
23
23
uses : actions/checkout@v4
24
24
25
25
- name : Setup Deno (${{env.deno-version}})
26
- uses : denoland/setup-deno@v1.1.4
26
+ uses : denoland/setup-deno@v2
27
27
with :
28
28
deno-version : ${{env.deno-version}}
29
29
You can’t perform that action at this time.
0 commit comments