This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree 6 files changed +1974
-2011
lines changed
6 files changed +1974
-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"]
21
17
steps :
22
18
- name : Checkout
23
19
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
24
20
25
- - name : Use Node.js ${{ matrix. NODE_VERSION }}
21
+ - name : Use Node.js $NODE_VERSION
26
22
uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
27
23
with :
28
- node-version : ${{ matrix. NODE_VERSION }}
24
+ node-version : $NODE_VERSION
29
25
30
26
- name : Cache
31
27
uses : actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
32
28
with :
33
29
path : ~/.npm
34
- key : ${{ runner.os }}-node-${{ matrix. NODE_VERSION }} -npm-lock-${{ hashFiles('**/package-lock.json') }}
30
+ key : ${{ runner.os }}-node-$NODE_VERSION-npm-lock-${{ hashFiles('**/package-lock.json') }}
35
31
restore-keys : |
36
- ${{ runner.os }}-node-${{ matrix. NODE_VERSION }} -npm-lock-
32
+ ${{ runner.os }}-node-$NODE_VERSION-npm-lock-
37
33
38
34
- name : Install dependencies
39
35
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