From a79af1de72f5e223e2da136458d73ee4ec22f60c Mon Sep 17 00:00:00 2001 From: Antony Date: Mon, 11 Nov 2024 11:53:51 +0000 Subject: [PATCH] make build more succint --- .github/workflows/publish.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f09be3f..35e7d1c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,13 +20,10 @@ jobs: - name: checkout uses: actions/checkout@v4 - - name: authorise pnpm + - name: set up node and pnpm run: | - pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" corepack enable - - - name: install dependencies - run: pnpm install + pnpm i - name: test run: pnpm test @@ -39,13 +36,11 @@ jobs: - name: checkout uses: actions/checkout@v4 - - name: authorise pnpm + - name: set up node and pnpm run: | - pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" corepack enable - - - name: install dependencies - run: pnpm install + pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" + pnpm i - name: publish run: pnpm publish --access public \ No newline at end of file