Skip to content

Commit 4c6ddd3

Browse files
committed
fix: 去除ci publish
1 parent 1efa7c3 commit 4c6ddd3

2 files changed

Lines changed: 39 additions & 41 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
1+
# # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33

4-
name: Node.js Package
4+
# name: Node.js Package
55

6-
on:
7-
push:
8-
branches: [ "main" ]
6+
# on:
7+
# push:
8+
# branches: [ "main" ]
99

10-
jobs:
11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
# - uses: actions/checkout@v2
15-
# - uses: KSXGitHub/github-actions-setup-pnpm@master
16-
# with:
17-
# version: 4.11.1
10+
# jobs:
11+
# build:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# # - uses: actions/checkout@v2
15+
# # - uses: KSXGitHub/github-actions-setup-pnpm@master
16+
# # with:
17+
# # version: 4.11.1
1818

19-
# - name: Install dependencies
20-
# run: pnpm install
21-
# - uses: actions/checkout@v3
22-
# - name: Install pnpm
23-
# uses: pnpm/action-setup@v3
19+
# # - name: Install dependencies
20+
# # run: pnpm install
21+
# # - uses: actions/checkout@v3
22+
# # - name: Install pnpm
23+
# # uses: pnpm/action-setup@v3
2424

25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-node@v3
27-
with:
28-
node-version: 16
29-
- run: npm run test
30-
- run: npm run build
25+
# - uses: actions/checkout@v3
26+
# - uses: actions/setup-node@v3
27+
# with:
28+
# node-version: 16
29+
# - run: npm run test
30+
# - run: npm run build
3131

32-
publish-npm:
33-
needs: build
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v3
37-
- uses: actions/setup-node@v3
38-
with:
39-
node-version: 16
40-
registry-url: https://registry.npmjs.org/
41-
- run: npm ci
42-
- run: npm run release
43-
env:
44-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
32+
# publish-npm:
33+
# needs: build
34+
# runs-on: ubuntu-latest
35+
# steps:
36+
# - uses: actions/checkout@v3
37+
# - uses: actions/setup-node@v3
38+
# with:
39+
# node-version: 16
40+
# registry-url: https://registry.npmjs.org/
41+
# - run: npm ci
42+
# - run: npm run release
43+
# env:
44+
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/release-tag.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
tag_name: ${{ github.ref }}
2323
release_name: Release ${{ github.ref }}
2424
body: |
25-
Changes in this Release
26-
- First Change
27-
- Second Change
25+
Please refer to [CHANGELOG.md](https://github.com/f5l5y5/axios-abort/blob/main/CHANGELOG.md) for details.
2826
draft: false
2927
prerelease: false
3028

0 commit comments

Comments
 (0)