diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 98a7007..af25e03 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,20 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Check if version has been updated - id: check - uses: EndBug/version-check@v2 - uses: actions/setup-node@v4 - if: steps.check.outputs.changed == 'true' with: node-version: '20' registry-url: 'https://registry.npmjs.org' # registry-url: 'https://npm.pkg.github.com' - run: yarn install --frozen-lockfile - if: steps.check.outputs.changed == 'true' - run: yarn build - if: steps.check.outputs.changed == 'true' - run: npm publish - if: steps.check.outputs.changed == 'true' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}