Syntax highlight MDX code blocks in markdown files (#348) #124
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: Version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
version: | |
name: Version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org | |
- run: npm install | |
- uses: changesets/action@v1 | |
with: | |
publish: ./release.sh | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
OVSX_PAT: ${{secrets.OPEN_VSX_TOKEN}} | |
VSCE_PAT: ${{secrets.VSCE_TOKEN}} |