Skip to content

Commit

Permalink
Fix publish workflow (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr authored Jul 2, 2024
1 parent 9ec28f5 commit 7df4b2f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- run: npm install -G yarn
- run: yarn install --ignore-engines
# - run: xvfb-run -a npm test
# if: runner.os == 'Linux'
# - run: npm test
# if: runner.os != 'Linux'
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: npm run deploy
run: yarn deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit 7df4b2f

Please sign in to comment.