Skip to content

Commit 561afb2

Browse files
committed
chore: remove quality job from publish workflow and clean up permissions
1 parent 7a7224c commit 561afb2

1 file changed

Lines changed: 5 additions & 22 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,20 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
quality:
11-
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
node-version: [ '24' ]
15-
steps:
16-
- uses: actions/checkout@v6.0.2
17-
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v6.4.0
19-
with:
20-
node-version: ${{ matrix.node-version }}
21-
cache: "npm"
22-
- run: npm ci
23-
- run: npm run build
24-
- run: npm test --if-present
25-
2610
publish:
2711
runs-on: ubuntu-latest
2812
if: ${{ github.ref == 'refs/heads/main' }}
29-
needs: [ quality ]
3013
permissions:
31-
contents: write # semantic-release needs to push version tags back to main
32-
issues: write # semantic-release comments on GitHub issues
33-
pull-requests: write # semantic-release comments on PRs
34-
id-token: write # OIDC trusted publishing
14+
contents: write # semantic-release needs to push version tags back to main
15+
issues: write # semantic-release comments on GitHub issues
16+
pull-requests: write # semantic-release comments on PRs
17+
id-token: write # OIDC trusted publishing
3518
steps:
3619
- uses: actions/checkout@v6.0.2
3720
- name: Use Node.js 24
3821
uses: actions/setup-node@v6.4.0
3922
with:
40-
node-version: '24'
23+
node-version: "24"
4124
cache: "npm"
4225
- run: npm ci
4326
- run: npm run build

0 commit comments

Comments
 (0)