ci: use node@10.2.0 instead of node@10.0.0 to run napi3 tests

This commit is contained in:
LongYinan 2020-10-04 16:07:36 +08:00
parent 45411a59ea
commit 2d099f7d1f
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -7,7 +7,7 @@ on:
jobs:
build_and_test:
name: stable - x86_64-unknown-linux-gnu - node@10.0
name: stable - x86_64-unknown-linux-gnu - node@10.2
runs-on: ubuntu-latest
steps:
@ -15,9 +15,9 @@ jobs:
- name: Setup node
run: |
wget https://nodejs.org/dist/v10.0.0/node-v10.0.0-linux-x64.tar.xz
tar xf node-v10.0.0-linux-x64.tar.xz
echo "::add-path::$(pwd)/node-v10.0.0-linux-x64/bin"
wget https://nodejs.org/dist/v10.2.0/node-v10.2.0-linux-x64.tar.xz
tar xf node-v10.2.0-linux-x64.tar.xz
echo "::add-path::$(pwd)/node-v10.2.0-linux-x64/bin"
- name: Install stable
uses: actions-rs/toolchain@v1