Skip to content

Commit

Permalink
Switched to corepack for yarn distribution in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Mar 27, 2024
1 parent 70aa12e commit a357b4e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Package Extension
- name: Enable corepack
run: corepack enable
- name: Setup node v18
uses: actions/setup-node@v4
with:
# the current node version use in vscode
node-version: '18'
cache: 'yarn'
- name: Install Dependencies
run: |
npm i -g @vscode/vsce
npm i -g yarn
yarn
- name: Package Extension
run: |
yarn lint
vsce package --pre-release
- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a357b4e

Please sign in to comment.