Skip to content

Commit 9dad984

Browse files
committed
Add pkg-pr-new
1 parent 7a5f55f commit 9dad984

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
cache: 'yarn'
2626
- run: yarn install --immutable
27-
- run: yarn run lint
27+
- run: yarn lint
2828

2929
test:
3030
strategy:
@@ -42,11 +42,23 @@ jobs:
4242
node-version: ${{ matrix.node }}
4343
cache: 'yarn'
4444
- run: yarn install --immutable
45-
- run: yarn run test --coverage
45+
- run: yarn test --coverage
4646
- uses: codecov/codecov-action@v5
4747
with:
4848
fail_ci_if_error: true
4949
disable_search: true
5050
files: coverage/lcov.info
5151
token: ${{ secrets.CODECOV_TOKEN }}
52-
- run: yarn run build
52+
53+
preview:
54+
if: github.repository == 'prettier/angular-estree-parser'
55+
name: Preview release
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v6
59+
- uses: actions/setup-node@v6
60+
with:
61+
cache: 'yarn'
62+
- run: yarn install --immutable
63+
- run: yarn build
64+
- run: npx pkg-pr-new publish --compact

0 commit comments

Comments
 (0)