From 081253dc08698bdb8b3d04718d376ff4bcf7804c Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 4 Oct 2023 11:41:49 +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 219e95f9..673fb4e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,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 @@ -82,7 +85,7 @@ jobs: - name: 📦 @uiw/react-heat-map publish to NPM - run: npm publish + run: npm publish --access public --provenance continue-on-error: true working-directory: core env: