Skip to content

Commit 9b41030

Browse files
committed
test npm pre-approval check
1 parent e0380b2 commit 9b41030

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test NPM pre-approval check
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: read
10+
11+
jobs:
12+
test-npm-preapproval:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
17+
with:
18+
node-version: 22.19.0
19+
- run: yarn install --immutable --mode=skip-build
20+
- name: Run NPM pre-approval check
21+
run: yarn check-npm-packages
22+
env:
23+
GITHUB_SHA: ${{ github.event.pull_request.head.sha }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)