diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2a4766d..1f3678c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -9,17 +9,6 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm ci - - run: npm test - - publish-npm: - needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -27,7 +16,7 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}