From 179e2e6065f20fbf4eccdfb9aaedbef0a829a350 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 30 Mar 2023 18:01:46 +0800 Subject: [PATCH] chore(deps): update workflows config. --- .github/workflows/ci.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3daa31..3650546 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,13 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 16 + registry-url: 'https://registry.npmjs.org' - run: npm install @@ -39,13 +40,13 @@ jobs: - name: Create Tag id: create_tag - uses: jaywcjlove/create-tag-action@v1.3.6 + uses: jaywcjlove/create-tag-action@main with: package-path: ./core/package.json - name: get tag version id: tag_version - uses: jaywcjlove/changelog-generator@v1.5.3 + uses: jaywcjlove/changelog-generator@main - name: Deploy Website uses: peaceiris/actions-gh-pages@v3 @@ -58,7 +59,7 @@ jobs: - name: Generate Changelog id: changelog - uses: jaywcjlove/changelog-generator@v1.5.3 + uses: jaywcjlove/changelog-generator@main with: token: ${{ secrets.GITHUB_TOKEN }} filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot) @@ -84,7 +85,9 @@ jobs: npm i @wcj/generate-password@${{steps.changelog.outputs.version}} ``` - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} - package: core/package.json \ No newline at end of file + - run: npm publish --access public + continue-on-error: true + working-directory: core + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + \ No newline at end of file