diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5550195..7807861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,6 @@ run-name: CI - Test / Lint / Build on: pull_request: branches: ["*"] - push: - branches: ["main"] # Ensures that only one job group runs at a time to avoid resource waste concurrency: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 360b7da..4d9395f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,13 +45,17 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + + - name: Install Dependencies + run: npm ci + - name: Publish Release - uses: actions/setup-node@v4 - with: - node-version: '20.x' - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file