File tree Expand file tree Collapse file tree 3 files changed +11
-26
lines changed
Expand file tree Collapse file tree 3 files changed +11
-26
lines changed Original file line number Diff line number Diff line change @@ -3,50 +3,35 @@ name: ⚡ CI
33# Dependencies:
44# - SocketDev/socket-registry/.github/workflows/ci.yml
55
6- concurrency :
7- group : ${{ github.workflow }}-${{ github.ref }}
8- cancel-in-progress : true
9-
106on :
117 push :
128 branches : [main]
139 tags : ['*']
1410 pull_request :
1511 branches : [main]
1612 workflow_dispatch :
17- inputs :
18- node-versions :
19- description : ' Node.js versions to test (JSON array)'
20- required : false
21- type : string
22- default : ' ["22", "24"]'
2313
2414permissions :
2515 contents : read
2616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
2721jobs :
2822 ci :
2923 name : Run CI Pipeline
30- uses : SocketDev/socket-registry/.github/workflows/ci.yml@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
24+ uses : SocketDev/socket-registry/.github/workflows/ci.yml@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
3125 with :
32- test-setup-script : ' pnpm run build'
33- lint-script : ' pnpm run lint --all'
34- type-check-script : ' pnpm run check'
3526 test-script : ' pnpm exec vitest --config .config/vitest.config.mts run'
36- node-versions : ${{ inputs.node-versions || '["22", "24"]' }}
37- os-versions : ' ["ubuntu-latest", "windows-latest"]'
38- fail-fast : false
39- max-parallel : 4
40- test-timeout-minutes : 15
4127
42- # Isolated test suite - runs separately with full isolation
4328 test-isolated :
4429 name : Test (Isolated)
4530 needs : ci
4631 runs-on : ubuntu-latest
4732 timeout-minutes : 10
4833 steps :
49- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
34+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
5035
5136 - name : Build project
5237 run : pnpm run build
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ permissions:
2626
2727jobs :
2828 publish :
29- uses : SocketDev/socket-registry/.github/workflows/provenance.yml@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
29+ uses : SocketDev/socket-registry/.github/workflows/provenance.yml@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
3030 with :
3131 debug : ${{ inputs.debug }}
3232 package-name : ' @socketsecurity/lib'
Original file line number Diff line number Diff line change 2424 outputs :
2525 has-updates : ${{ steps.check.outputs.has-updates }}
2626 steps :
27- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
27+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
2828
2929 - name : Check for npm updates
3030 id : check
4848 contents : write
4949 pull-requests : write
5050 steps :
51- - uses : SocketDev/socket-registry/.github/actions/setup-and-install@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
51+ - uses : SocketDev/socket-registry/.github/actions/setup-and-install@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
5252
5353 - name : Create update branch
5454 id : branch
6060 git checkout -b "$BRANCH_NAME"
6161 echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
6262
63- - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
63+ - uses : SocketDev/socket-registry/.github/actions/setup-git-signing@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
6464 with :
6565 gpg-private-key : ${{ secrets.BOT_GPG_PRIVATE_KEY }}
6666
@@ -295,7 +295,7 @@ jobs:
295295 test-output.log
296296 retention-days : 7
297297
298- - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@b86b2cb3fefa4ffa6c1a702476f9785f6c3bb887 # main
298+ - uses : SocketDev/socket-registry/.github/actions/cleanup-git-signing@eb53b17da1dbb6170e3df74d28ec2e1e45678c70 # main
299299 if : always()
300300
301301 notify :
You can’t perform that action at this time.
0 commit comments