File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Any Commit
2+ on :
3+ - push
4+ - pull_request
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ publish :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v4
17+
18+ - name : Setup Node.js LTS
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : lts/*
22+ cache : yarn
23+
24+ - name : Install dependencies
25+ run : yarn --immutable
26+
27+ - name : Build
28+ run : yarn build
29+
30+ - run : yarn dlx pkg-pr-new publish
Original file line number Diff line number Diff line change 4444 env :
4545 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4646 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
47-
48- - run : yarn dlx pkg-pr-new publish
You can’t perform that action at this time.
0 commit comments