diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73e195c0..aedac085 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: types: published jobs: - build: + release: runs-on: ubuntu-latest permissions: contents: read @@ -16,6 +16,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" + registry-url: "https://registry.npmjs.org" - name: "Install dependencies" run: npm install --no-save - name: "Run eslint - linting" @@ -24,6 +25,7 @@ jobs: run: npm run check - name: "Run unit tests" run: npm test + - run: npm ci - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}