-
-
Notifications
You must be signed in to change notification settings - Fork 872
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated github actions to the latest versions (#1604)
* Workflow Test 1708236296 * Workflow Test 1708236792 * Test * Upgraded github actions to the latest versions --------- Co-authored-by: Peter Harrison <[email protected]>
- Loading branch information
1 parent
7055b34
commit 5a625c7
Showing
3 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,14 +26,14 @@ jobs: | |
matrix: | ||
node-version: [20.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache node modules | ||
id: cache-npm | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
|
@@ -51,7 +51,7 @@ jobs: | |
run: npm install | ||
- run: npm run test -- --watchAll=false --coverage | ||
- name: Present and upload coverage to Codecov as ${{env.CODECOV_UNIQUE_NAME}} | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
@@ -63,7 +63,7 @@ jobs: | |
if: github.ref == 'refs/heads/develop' | ||
steps: | ||
- name: Checkout the Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
# with: | ||
# ref: develop | ||
|
||
|
@@ -77,7 +77,7 @@ jobs: | |
|
||
- name: Restore node_modules from cache | ||
id: cache-npm | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
|
@@ -154,7 +154,7 @@ jobs: | |
needs: Generate-Documentation | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
token: ${{ secrets.TALAWA_DOCS_SYNC }} | ||
|
@@ -170,7 +170,7 @@ jobs: | |
if: github.ref == 'refs/heads/automated-docs' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: dmnemec/[email protected] | ||
env: | ||
API_TOKEN_GITHUB: ${{secrets.TALAWA_DOCS_SYNC}} | ||
|