Skip to content

Commit d789647

Browse files
dcavanaghPodaruDragosJameskmonger
authored
Fix CI (#1520)
Co-authored-by: Podaru Dragos <[email protected]> Co-authored-by: James Monger <[email protected]>
1 parent 0c800ff commit d789647

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/ci.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
browser:
1111
runs-on: windows-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- uses: nuget/setup-nuget@v1
15-
- uses: actions/setup-node@v1
15+
- uses: actions/setup-node@v3
1616
with:
1717
node-version: 18
1818
- run: npm install
@@ -33,9 +33,9 @@ jobs:
3333

3434
steps:
3535
- name: Checkout Project
36-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
36+
uses: actions/checkout@v3
3737
- name: Use Node.js ${{ matrix.node-version }}
38-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
38+
uses: actions/setup-node@v3
3939
with:
4040
node-version: ${{ matrix.node-version }}
4141
cache: npm
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run tests
4646
run: npm test --coverage
4747
- name: Store code coverage report
48-
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # renovate: tag=v2
48+
uses: actions/upload-artifact@v3
4949
with:
5050
name: coverage
5151
path: coverage/
@@ -61,34 +61,34 @@ jobs:
6161
TS_NODE_PROJECT: ${{ matrix.ts-project }}
6262

6363
steps:
64-
- name: Checkout Project
65-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
66-
- name: Use Node.js ${{ matrix.node-version }}
67-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # renovate: tag=v2
68-
with:
69-
node-version: ${{ matrix.node-version }}
70-
cache: npm
71-
registry-url: https://registry.npmjs.org/
72-
- run: npm cache clean --force
73-
- run: npm ci
74-
- run: npm run build --if-present
64+
- name: Checkout Project
65+
uses: actions/checkout@v3
66+
- name: Use Node.js ${{ matrix.node-version }}
67+
uses: actions/setup-node@v3
68+
with:
69+
node-version: ${{ matrix.node-version }}
70+
cache: npm
71+
registry-url: https://registry.npmjs.org/
72+
- run: npm cache clean --force
73+
- run: npm ci
74+
- run: npm run build --if-present
7575

7676
Upload_Coverage_Report:
7777
name: Upload coverage report to codecov
7878
needs: [Testing]
7979
runs-on: ubuntu-latest
8080
steps:
8181
- name: Checkout Project
82-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2
82+
uses: actions/checkout@v3
8383
with:
8484
fetch-depth: 2
8585
- name: Download Coverage report
86-
uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869 # renovate: tag=v2
86+
uses: actions/download-artifact@v3
8787
with:
8888
name: coverage
8989
path: coverage/
9090
- name: Codecov Upload
91-
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # renovate: tag=v2
91+
uses: codecov/codecov-action@v3
9292
with:
9393
directory: coverage/
94-
fail_ci_if_error: true
94+
fail_ci_if_error: true

0 commit comments

Comments
 (0)