From 1c75a5bce82fe96b843fc24bd90176cc19e1dcc4 Mon Sep 17 00:00:00 2001 From: Alder Whiteford Date: Sun, 4 Aug 2024 15:14:57 -0400 Subject: [PATCH 1/2] update release flow --- .github/workflows/release.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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 From d9893a953c7e6dca11369787021ff00ecf7a8254 Mon Sep 17 00:00:00 2001 From: Alder Whiteford Date: Sun, 4 Aug 2024 15:15:49 -0400 Subject: [PATCH 2/2] update ci --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) 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: