Skip to content

Commit

Permalink
ci: publish on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Djiit committed Oct 20, 2024
1 parent 99596ce commit ff96c04
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:

- name: Build and publish packages
if: ${{ steps.release.outputs.release_created == 'true' }}
run: npm run publish
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,17 @@ jobs:
run: npm ci
- name: Run linters
run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run package
run: npm run package

0 comments on commit ff96c04

Please sign in to comment.