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
|
AWS_DEFAULT_REGION: us-east-1
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull-request:
|
||||||
tags:
|
|
||||||
- node-v*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
rust_publish:
|
rust_publish:
|
||||||
@ -59,6 +57,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
|
- name: Install Python
|
||||||
|
uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: 2.x
|
||||||
|
|
||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
working-directory: ./bindings/node
|
working-directory: ./bindings/node
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
@ -109,8 +112,8 @@ jobs:
|
|||||||
working-directory: ./bindings/node
|
working-directory: ./bindings/node
|
||||||
run: npm ci --ignore-scripts
|
run: npm ci --ignore-scripts
|
||||||
|
|
||||||
- name: Build and publish on NPM
|
# - name: Build and publish on NPM
|
||||||
working-directory: ./bindings/node
|
# working-directory: ./bindings/node
|
||||||
run: node build.js --npm-publish
|
# run: node build.js --npm-publish
|
||||||
env:
|
# env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user