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 previewed package version on PR 📦
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' **'
7+ paths :
8+ - ' **/*'
9+ - ' !website/**/*'
10+
11+ concurrency :
12+ group : preview-pkg-pr-${{ github.event.pull_request.number }}
13+ cancel-in-progress : true
14+
15+ permissions :
16+ contents : read
17+
18+ jobs :
19+ publish :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - name : Checkout 🛎️
24+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
25+ with :
26+ fetch-depth : 20
27+ fetch-tags : false
28+
29+ - name : Setup codespace ⚙️
30+ uses : ./.github/actions/setup-codespace
31+ with :
32+ os : ${{ runner.os }}
33+
34+ - name : Install dependencies
35+ run : yarn --immutable
36+
37+ - name : Build
38+ run : yarn build
39+
40+ - name : Publish
41+ run : yarn dlx pkg-pr-new publish
You can’t perform that action at this time.
0 commit comments