diff --git a/.github/workflows/main_workflow.yml b/.github/workflows/main_workflow.yml index fcc633f..c4c8605 100644 --- a/.github/workflows/main_workflow.yml +++ b/.github/workflows/main_workflow.yml @@ -6,7 +6,6 @@ permissions: contents: write env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} jobs: build: runs-on: ubuntu-latest @@ -15,8 +14,8 @@ jobs: node-version: [ 20.x ] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' @@ -31,9 +30,7 @@ jobs: if: ${{github.ref == 'refs/heads/main'}} run: npx semantic-release env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Coveralls if: ${{github.ref == 'refs/heads/main'}} uses: coverallsapp/github-action@master