diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 995a14ff..54f259c4 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 @@ -81,14 +84,14 @@ jobs: npm i @uiw/github-corners@${{steps.create_tag.outputs.versionNumber}} ``` - - run: npm publish --access public + - run: npm publish --access public --provenance name: 📦 @uiw/react-github-corners publish to NPM continue-on-error: true working-directory: react env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: npm publish --access public + - run: npm publish --access public --provenance name: 📦 @uiw/github-corners publish to NPM continue-on-error: true working-directory: web-component