Bump to 1.1.0 #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release to marketplace | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
cli: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- run: yarn install | |
- run: npm run build:cli -- --define:process.env.AUTH0_BASE_URL=\"${{ secrets.AUTH0_BASE_URL }}\" --define:process.env.AUTH0_CLIENT_ID=\"${{ secrets.AUTH0_CLIENT_ID }}\" | |
- run: npm publish --provenance --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
extension: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- run: yarn install | |
- run: npm run build:cli -- --define:process.env.AUTH0_BASE_URL=\"${{ secrets.AUTH0_BASE_URL }}\" --define:process.env.AUTH0_CLIENT_ID=\"${{ secrets.AUTH0_CLIENT_ID }}\" | |
- run: npm run build:extension | |
- run: npx vsce package --allow-missing-repository --skip-license | |
- run: npx vsce publish | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} |