Skip to content

Commit 1858d9a

Browse files
committed
build: enable OIDC
1 parent f9224e2 commit 1858d9a

File tree

5 files changed

+1674
-2285
lines changed

5 files changed

+1674
-2285
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,15 @@
11
name: Release
22

3-
permissions:
4-
contents: write
5-
63
on:
74
push:
85
tags:
96
- 'v*'
107

118
jobs:
129
release:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
18-
19-
- name: Install pnpm
20-
uses: pnpm/action-setup@v2
21-
22-
- name: Set node
23-
uses: actions/setup-node@v3
24-
with:
25-
node-version: lts/*
26-
27-
- run: npx changelogithub
28-
env:
29-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
10+
uses: sxzz/workflows/.github/workflows/release.yml@v1
11+
with:
12+
publish: true
13+
permissions:
14+
contents: write
15+
id-token: write

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "eslint-plugin-format",
33
"type": "module",
44
"version": "1.0.1",
5-
"packageManager": "pnpm@9.15.3",
5+
"packageManager": "pnpm@10.17.0",
66
"description": "Format various languages with formatters in ESLint",
77
"author": "Anthony Fu <[email protected]>",
88
"license": "MIT",
@@ -55,7 +55,7 @@
5555
"dev": "unbuild --stub",
5656
"lint": "nr build && eslint .",
5757
"prepublishOnly": "nr build",
58-
"release": "bumpp && npm publish",
58+
"release": "bumpp",
5959
"start": "esno src/index.ts",
6060
"test": "vitest",
6161
"typecheck": "tsc --noEmit",
@@ -70,27 +70,27 @@
7070
"@dprint/toml": "^0.6.4",
7171
"eslint-formatting-reporter": "^0.0.0",
7272
"eslint-parser-plain": "^0.1.1",
73-
"prettier": "^3.4.2",
74-
"synckit": "^0.9.2"
73+
"prettier": "^3.6.2",
74+
"synckit": "^0.9.3"
7575
},
7676
"devDependencies": {
77-
"@antfu/eslint-config": "^3.12.2",
78-
"@antfu/ni": "^0.23.2",
79-
"@antfu/utils": "^0.7.10",
77+
"@antfu/eslint-config": "^5.4.0",
78+
"@antfu/ni": "^26.0.1",
79+
"@antfu/utils": "^9.2.0",
8080
"@types/eslint": "^9.6.1",
81-
"@types/node": "^22.10.5",
82-
"bumpp": "^9.9.3",
83-
"eslint": "^9.17.0",
81+
"@types/node": "^24.5.2",
82+
"bumpp": "^10.2.3",
83+
"eslint": "^9.36.0",
8484
"eslint-plugin-format": "workspace:*",
8585
"esno": "^4.8.0",
86-
"lint-staged": "^15.3.0",
87-
"pnpm": "^9.15.3",
86+
"lint-staged": "^16.1.6",
87+
"pnpm": "^10.17.0",
8888
"rimraf": "^6.0.1",
89-
"simple-git-hooks": "^2.11.1",
90-
"typescript": "^5.7.2",
91-
"unbuild": "^3.2.0",
92-
"vite": "^6.0.7",
93-
"vitest": "^2.1.8"
89+
"simple-git-hooks": "^2.13.1",
90+
"typescript": "^5.9.2",
91+
"unbuild": "^3.6.1",
92+
"vite": "^7.1.6",
93+
"vitest": "^3.2.4"
9494
},
9595
"simple-git-hooks": {
9696
"pre-commit": "npx lint-staged"

0 commit comments

Comments
 (0)