mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
update for testing
This commit is contained in:
19
.github/workflows/node-release.yml
vendored
19
.github/workflows/node-release.yml
vendored
@ -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 }}
|
||||
|
Reference in New Issue
Block a user