From fbd8d6188e7c58af961268920ebb48fc32cf3eb0 Mon Sep 17 00:00:00 2001 From: "arthur.zucker@gmail.com" Date: Thu, 6 Apr 2023 10:29:42 +0000 Subject: [PATCH 1/3] update for testing --- .github/workflows/node-release.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index 5beec1d5..8b5d1d67 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -6,9 +6,7 @@ env: AWS_DEFAULT_REGION: us-east-1 on: - push: - tags: - - node-v* + pull-request: jobs: rust_publish: @@ -59,6 +57,11 @@ jobs: restore-keys: | ${{ runner.os }}-node- + - name: Install Python + uses: actions/setup-python@v1 + with: + python-version: 2.x + - name: Install npm dependencies working-directory: ./bindings/node run: npm ci --ignore-scripts @@ -109,8 +112,8 @@ jobs: working-directory: ./bindings/node run: npm ci --ignore-scripts - - name: Build and publish on NPM - working-directory: ./bindings/node - run: node build.js --npm-publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # - name: Build and publish on NPM + # working-directory: ./bindings/node + # run: node build.js --npm-publish + # env: + # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From ceb73dbd29a320497fdb4094d6a2f26f3e28c865 Mon Sep 17 00:00:00 2001 From: "arthur.zucker@gmail.com" Date: Thu, 6 Apr 2023 13:35:29 +0000 Subject: [PATCH 2/3] publish npm --- .github/workflows/node-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index 8b5d1d67..ab7afc27 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -112,8 +112,8 @@ jobs: working-directory: ./bindings/node run: npm ci --ignore-scripts - # - name: Build and publish on NPM - # working-directory: ./bindings/node - # run: node build.js --npm-publish - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Build and publish on NPM + working-directory: ./bindings/node + run: node build.js --npm-publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From a714aac6f695cc60dfc8eab599efa6da97438ba8 Mon Sep 17 00:00:00 2001 From: "arthur.zucker@gmail.com" Date: Thu, 6 Apr 2023 14:07:46 +0000 Subject: [PATCH 3/3] revert changes --- .github/workflows/node-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index ab7afc27..4e88fe00 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -6,7 +6,9 @@ env: AWS_DEFAULT_REGION: us-east-1 on: - pull-request: + push: + tags: + - node-v* jobs: rust_publish: