Skip to content

Commit

Permalink
更新 npm v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
whyour committed Oct 18, 2023
1 parent d32a6a1 commit d59cd3b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ jobs:
pnpm build:front
pnpm build:back
- name: publich npm package
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
npm publish
- name: copy to static repo
env:
GITHUB_REPO: github.com/${{ github.repository_owner }}/qinglong-static
Expand Down Expand Up @@ -173,3 +168,28 @@ jobs:

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

publish:
needs: build

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: '8.3.1'

- uses: actions/setup-node@v3
with:
cache: 'pnpm'

- name: build front and back
run: |
pnpm install --frozen-lockfile
pnpm build:front
pnpm build:back
- name: publich npm package
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
npm publish
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whyour/qinglong",
"version": "0.8.4",
"version": "0.12.0",
"description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
"repository": {
"type": "git",
Expand Down

0 comments on commit d59cd3b

Please sign in to comment.