From 600b52d21d1204f9051f847097237eba6dfa0d68 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 22 Jan 2024 12:08:38 -0800 Subject: [PATCH 1/2] fix malformed expression --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 31a5dd7..27eb517 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,7 +21,7 @@ jobs: npm ci npm publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN } + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Release Package uses: ncipollo/release-action@v1.12.0 From 0d5c5873b6eb1f858e9cb05fcc73a9150e07f378 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 22 Jan 2024 12:10:52 -0800 Subject: [PATCH 2/2] fix file format --- .github/workflows/npm-publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 27eb517..76a786b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -9,9 +9,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v3 + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 with: node-version: '16.x' registry-url: 'https://registry.npmjs.org' @@ -24,5 +26,4 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Release Package - uses: ncipollo/release-action@v1.12.0 - + uses: ncipollo/release-action@v1.12.0 \ No newline at end of file