chore(main): release 0.15.0 (#87) #56
This file contains 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 | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
release-type: node | |
package-name: elixir-tools | |
bump-minor-pre-major: true | |
- name: Checkout | |
uses: actions/checkout@v3 | |
if: ${{ steps.release.outputs.release_created }} | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
- run: yarn install --immutable | |
- name: publish to visual studio marketplace | |
if: ${{ steps.release.outputs.release_created }} | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
run: npx vsce publish | |
- name: publish to open vsx | |
if: ${{ steps.release.outputs.release_created }} | |
run: npx ovsx publish --yarn -p ${{ secrets.OPEN_VSX_PAT }} |