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 }}