Skip to content

Commit

Permalink
docs: Updating GH actions to Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljolley committed Jun 15, 2024
1 parent 3b6902a commit 58ae251
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Cache npm dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: "~/.npm"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -37,7 +37,7 @@ jobs:
env:
npm_config_arch: x64
- name: Test with VS Code ${{ matrix.vscode-version }}
uses: coactions/setup-xvfb@v1
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
with:
Expand All @@ -55,13 +55,13 @@ jobs:
needs: test
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Cache npm dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: "~/.npm"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -74,7 +74,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: "*.vsix"

Expand All @@ -86,19 +86,19 @@ jobs:
runs-on: ubuntu-latest
needs: [test, build]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Cache npm dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: "~/.npm"
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: npx semantic-release --extends ./publish.release.config.js
if: github.event_name == 'push' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
env:
Expand Down

0 comments on commit 58ae251

Please sign in to comment.