Skip to content

Commit

Permalink
chore: add registry-url
Browse files Browse the repository at this point in the history
  • Loading branch information
aooiuu committed Jun 12, 2024
1 parent bea1597 commit 842f519
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 83 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
branches:
- dev

jobs:
release:
Expand All @@ -16,16 +18,17 @@ jobs:
# os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- name: Check out git repository
- name: check out git repository
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

- uses: pnpm/action-setup@v3
- name: Setup Node
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
registry-url: "https://registry.npmjs.org"

- run: npx changelogithub
env:
Expand All @@ -40,7 +43,7 @@ jobs:
- name: publish to npm
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true

- name: build vscode template
Expand Down
2 changes: 2 additions & 0 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/koa-router": "^7.4.8",
"@types/koa-static": "^4.0.4",
"@types/koa-session": "^6.4.5",
"@types/koa__cors": "^5.0.0",
"esno": "^0.16.3"
Expand Down
2 changes: 0 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/encoding-japanese": "^2.0.5",
"@types/koa-router": "^7.4.8",
"@types/koa-static": "^4.0.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.16.19",
"esno": "^0.16.3",
Expand Down
96 changes: 19 additions & 77 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 842f519

Please sign in to comment.