From 5ae98cdff23ccda31881d4159bdfd454173d8eb4 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 3 Oct 2023 02:39:01 +0800 Subject: [PATCH] ci: update workflows config. --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39c69e0..2f6ab7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,11 +7,14 @@ on: jobs: build-deploy: runs-on: ubuntu-latest + permissions: + contents: write + id-token: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://registry.npmjs.org' - run: npm install @@ -89,7 +92,7 @@ jobs: ${{ steps.changelog.outputs.changelog }} - - run: npm publish --access public + - run: npm publish --access public --provenance name: 📦 @kkt/ncc publish to NPM continue-on-error: true working-directory: core