Skip to content

Commit

Permalink
Update github action to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakari Mursu committed Mar 29, 2022
1 parent afb1f08 commit 32cbc16
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6.32.3

- name: Setup node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: '13.x'
cache: 'pnpm'

- name: Install node dependencies
run: npm ci
- name: Install dependencies
run: pnpm install

- name: Publish extension
run: npm run publish $VSCE_TOKEN
run: pnpm run publish $VSCE_TOKEN
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}

Expand Down

0 comments on commit 32cbc16

Please sign in to comment.