File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Changesets
2+ on :
3+ push :
4+ branches :
5+ - main
6+ env :
7+ CI : true
8+ PNPM_CACHE_FOLDER : .pnpm-store
9+ jobs :
10+ version :
11+ timeout-minutes : 15
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Repo
15+ uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+ - name : Setup Node.js 16.x
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : 16.x
22+ - name : Install pnpm
23+ run : npm i pnpm@latest -g
24+ - name : Setup npmrc
25+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
26+ - name : Setup pnpm config
27+ run : pnpm config set store-dir $PNPM_CACHE_FOLDER
28+ - name : Install dependencies
29+ run : pnpm install --no-frozen-lockfile
30+ - name : Create and publish versions
31+ uses : changesets/action@v1
32+ with :
33+ version : pnpm version-packages
34+ commit : " chore: update versions"
35+ title : " chore: update versions"
36+ publish : pnpm release
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments