We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa403b commit b7452f5Copy full SHA for b7452f5
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+# GitHub Actions example
2
+jobs:
3
+ release:
4
+ runs-on: ubuntu-latest
5
+ permissions:
6
+ contents: write # For git operations
7
+ id-token: write # < REQUIRED FOR OIDC
8
+
9
+ steps:
10
+ - uses: actions/checkout
11
+ - uses: actions/setup-node
12
+ with:
13
+ node-version: "lts/*"
14
+ registry-url: "https://registry.npmjs.org"
15
16
+ # OIDC requires npm v11.5.1 or later
17
+ # Node.js v20 comes with v10.8, so we need to update it:
18
+ - run: npm install -g npm@latest
19
+ - run: npm ci
20
+ - run: npx release-it --ci
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-it.json
@@ -0,0 +1,5 @@
+{
+ "npm": {
+ "skipChecks": true
+ }
+}
0 commit comments