File tree Expand file tree Collapse file tree 5 files changed +10
-31
lines changed
Expand file tree Collapse file tree 5 files changed +10
-31
lines changed Original file line number Diff line number Diff line change 1414 actions-config-validation :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v3.5.0
17+ - uses : actions/checkout@v3
1818
1919 - name : actions-config-validation
2020 uses :
GrantBirki/json-yaml-validate@9a228501b1e80369c582764187fbefdc2f7fbac1 # [email protected]
Original file line number Diff line number Diff line change 2626
2727 steps :
2828 - name : checkout
29- uses : actions/checkout@v3.5.0
29+ uses : actions/checkout@v3
3030
3131 # Initializes the CodeQL tools for scanning.
3232 - name : Initialize CodeQL
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
2619 uses :
actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # [email protected] 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 @@ -12,28 +12,21 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- 16-
17- # check the node version from the .node-version file
18- - name : fetch node version
19- id : node-version
20- run : |
21- version=$(cat .node-version)
22- echo "version=${version}" >> $GITHUB_OUTPUT
15+ - uses : actions/checkout@v3
2316
2417 - name : setup node
2518 uses :
actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # [email protected] 2619 with :
27- node-version : ${{ steps .node-version.outputs.version }}
20+ node-version-file : .node-version
2821 cache : ' npm'
2922
3023 - name : install dependencies
3124 run : npm ci
3225
33- - name : Rebuild the dist/ directory
26+ - name : rebuild the dist/ directory
3427 run : npm run bundle
3528
36- - name : Compare the expected and actual dist/ directories
29+ - name : compare the expected and actual dist/ directories
3730 run : |
3831 if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
3932 echo "Detected uncommitted changes after build. See status below:"
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
2619 uses :
actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # [email protected] 2720 with :
28- node-version : ${{ steps .node-version.outputs.version }}
21+ node-version-file : .node-version
2922 cache : ' npm'
3023
3124 - name : install dependencies
You can’t perform that action at this time.
0 commit comments