Skip to content

Commit a17b153

Browse files
committed
Add preview release
1 parent 2099d61 commit a17b153

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,24 @@ jobs:
6565

6666
- name: Run Lint
6767
run: yarn lint
68+
69+
preview:
70+
if: github.repository == 'prettier/yaml-unist-parser'
71+
name: Preview release
72+
runs-on: ubuntu-latest
73+
steps:
74+
- name: Checkout
75+
uses: actions/checkout@v6
76+
77+
- name: Setup Node.js
78+
uses: actions/setup-node@v6
79+
80+
- name: Install Dependencies
81+
run: yarn --immutable
82+
83+
- name: Preview
84+
run: yarn lint
85+
86+
- run: |
87+
yarn build
88+
npx pkg-pr-new publish --compact

0 commit comments

Comments
 (0)