diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50f6446b..dfb5e696 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - 16 steps: @@ -34,6 +35,7 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - 16 steps: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04fb0996..4f494799 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.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 @@ -73,7 +76,7 @@ jobs: ${{ steps.changelog.outputs.changelog }} - name: 📦 idoc publish to NPM - run: npm publish + run: npm publish --access public --provenance continue-on-error: true env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file