File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Any Commit
2+ on :
3+ push :
4+ branches :
5+ - " **"
6+ pull_request :
7+ branches :
8+ - " **"
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ node-version : [19]
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Install pnpm
21+ uses : pnpm/action-setup@v4
22+ with :
23+ version : 9.1.4
24+
25+ - name : Use Node.js ${{ matrix.node-version }}
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : ${{ matrix.node-version }}
29+ cache : " pnpm"
30+
31+ - name : Install dependencies
32+ run : pnpm install
33+
34+ - name : Build
35+ continue-on-error : true
36+ run : pnpm build --filter='./packages/scan'
37+
38+ - name : Publish NPM Package to pkg-pr-new
39+ run : pnpx pkg-pr-new publish ./packages/scan
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments