File tree Expand file tree Collapse file tree 6 files changed +12
-37
lines changed Expand file tree Collapse file tree 6 files changed +12
-37
lines changed Original file line number Diff line number Diff line change 2525 language : [ 'javascript' ]
2626
2727 steps :
28- - uses : actions/checkout@v3.5.0
28+ - uses : actions/checkout@v3
2929
3030 - name : Initialize CodeQL
3131 uses : github/codeql-action/init@v2
Original file line number Diff line number Diff line change @@ -13,19 +13,12 @@ jobs:
1313 lint :
1414 runs-on : ubuntu-latest
1515 steps :
16- 17-
18- # check the node version from the .node-version file
19- - name : fetch node version
20- id : node-version
21- run : |
22- version=$(cat .node-version)
23- echo "version=${version}" >> $GITHUB_OUTPUT
16+ - uses : actions/checkout@v3
2417
2518 - name : setup node
26- 19+ uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@ v3.6.0
2720 with :
28- node-version : ${{ steps .node-version.outputs.version }}
21+ node-version-file : .node-version
2922 cache : ' npm'
3023
3124 - name : install dependencies
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 # Need to checkout for testing the Action in this repo
18- - uses : actions/checkout@v3.5.0
18+ - uses : actions/checkout@v3
1919
2020 # Lock
2121 - uses : ./
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- paths-ignore :
8- - " **.md"
97 pull_request :
10- paths-ignore :
11- - " **.md"
128 workflow_dispatch :
139
1410permissions :
@@ -19,19 +15,12 @@ jobs:
1915 runs-on : ubuntu-latest
2016
2117 steps :
22- 23-
24- # check the node version from the .node-version file
25- - name : fetch node version
26- id : node-version
27- run : |
28- version=$(cat .node-version)
29- echo "version=${version}" >> $GITHUB_OUTPUT
18+ - uses : actions/checkout@v3
3019
3120 - name : setup node
32- 21+ uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@ v3.6.0
3322 with :
34- node-version : ${{ steps .node-version.outputs.version }}
23+ node-version-file : .node-version
3524 cache : ' npm'
3625
3726 - name : install dependencies
Original file line number Diff line number Diff line change @@ -13,19 +13,12 @@ jobs:
1313 test :
1414 runs-on : ubuntu-latest
1515 steps :
16- 17-
18- # check the node version from the .node-version file
19- - name : fetch node version
20- id : node-version
21- run : |
22- version=$(cat .node-version)
23- echo "version=${version}" >> $GITHUB_OUTPUT
16+ - uses : actions/checkout@v3
2417
2518 - name : setup node
26- 19+ uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@ v3.6.0
2720 with :
28- node-version : ${{ steps .node-version.outputs.version }}
21+ node-version-file : .node-version
2922 cache : ' npm'
3023
3124 - name : install dependencies
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 # Need to checkout for testing the Action in this repo
14- - uses : actions/checkout@v3.5.0
14+ - uses : actions/checkout@v3
1515
1616 # Lock
1717 - uses : ./
You can’t perform that action at this time.
0 commit comments