diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 51adbcb..de3adb4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,8 +2,7 @@ name: Build and Publish on: push: - tags: - - v* + branches: [ main ] jobs: build-and-publish: @@ -11,10 +10,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '18' registry-url: 'https://registry.npmjs.org'