-
-
Notifications
You must be signed in to change notification settings - Fork 28
29 lines (27 loc) · 761 Bytes
/
version.yml
File metadata and controls
29 lines (27 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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}}