Use newer Node.js version in bench workflow
This commit is contained in:
parent
b7c355bd57
commit
ae148621f7
|
@ -16,16 +16,16 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo ::set-output name=VERSION::"$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')"
|
run: echo ::set-output name=VERSION::"$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')"
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@master
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.39.0
|
toolchain: 1.39.0
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
default: true
|
||||||
|
- name: Set up Node.js for generating code
|
||||||
|
uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 14.x
|
||||||
- name: Build generated code
|
- name: Build generated code
|
||||||
working-directory: ./gen
|
working-directory: ./gen
|
||||||
run: |
|
run: |
|
||||||
|
@ -34,6 +34,10 @@ jobs:
|
||||||
node node_modules/ts-node/dist/bin.js dfa.ts
|
node node_modules/ts-node/dist/bin.js dfa.ts
|
||||||
node node_modules/ts-node/dist/bin.js entities.ts
|
node node_modules/ts-node/dist/bin.js entities.ts
|
||||||
node node_modules/ts-node/dist/bin.js patterns.ts
|
node node_modules/ts-node/dist/bin.js patterns.ts
|
||||||
|
- name: Set up Node.js for benching
|
||||||
|
uses: actions/setup-node@master
|
||||||
|
with:
|
||||||
|
node-version: 10.x
|
||||||
- name: Set up Node.js module
|
- name: Set up Node.js module
|
||||||
working-directory: ./nodejs
|
working-directory: ./nodejs
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
Loading…
Reference in New Issue