From 3734dc57788c462d18b1912548123de47a42e302 Mon Sep 17 00:00:00 2001 From: Karen <64801825+karenc-bq@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:15:29 -0800 Subject: [PATCH] fix: release automation (#328) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73e195c0..aedac085 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: types: published jobs: - build: + release: runs-on: ubuntu-latest permissions: contents: read @@ -16,6 +16,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" + registry-url: "https://registry.npmjs.org" - name: "Install dependencies" run: npm install --no-save - name: "Run eslint - linting" @@ -24,6 +25,7 @@ jobs: run: npm run check - name: "Run unit tests" run: npm test + - run: npm ci - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}