This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree 6 files changed +1975
-2011
lines changed
6 files changed +1975
-2011
lines changed Original file line number Diff line number Diff line change
1
+ # This file is for unifying the coding style for different editors and IDEs
2
+ # editorconfig.org
3
+
4
+ root = true
5
+
6
+ [* ]
7
+ indent_style = tab
8
+ end_of_line = lf
9
+ charset = utf-8
10
+ trim_trailing_whitespace = true
11
+ insert_final_newline = true
12
+
13
+ [* .yml ]
14
+ indent_style = space
15
+ indent_size = 2
Original file line number Diff line number Diff line change 8
8
permissions :
9
9
contents : read # to fetch code (actions/checkout)
10
10
11
+ env :
12
+ NODE_VERSION : 20.x
13
+
11
14
jobs :
12
15
build-and-test :
13
16
runs-on : ubuntu-latest
14
- name : ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }})
15
- strategy :
16
- fail-fast : false
17
- matrix :
18
- NAME : ["Node"]
19
- NODE_VERSION : [20.x]
20
- NPM_SCRIPT : ["test"]
17
+ name : test
21
18
steps :
22
19
- name : Checkout
23
20
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
24
21
25
- - name : Use Node.js ${{ matrix .NODE_VERSION }}
22
+ - name : Use Node.js ${{ env .NODE_VERSION }}
26
23
uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
27
24
with :
28
- node-version : ${{ matrix .NODE_VERSION }}
25
+ node-version : ${{ env .NODE_VERSION }}
29
26
30
27
- name : Cache
31
28
uses : actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
32
29
with :
33
30
path : ~/.npm
34
- key : ${{ runner.os }}-node-${{ matrix .NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
31
+ key : ${{ runner.os }}-node-${{ env .NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
35
32
restore-keys : |
36
- ${{ runner.os }}-node-${{ matrix .NODE_VERSION }}-npm-lock-
33
+ ${{ runner.os }}-node-${{ env .NODE_VERSION }}-npm-lock-
37
34
38
35
- name : Install dependencies
39
36
run : npm install
Original file line number Diff line number Diff line change 1
1
{
2
- "type" : " commonjs"
2
+ "type" : " commonjs"
3
3
}
You can’t perform that action at this time.
0 commit comments