Update node version in workflow

This commit is contained in:
Konrad Pabjan 2020-03-26 10:16:36 +01:00
parent 994eb506df
commit 3d1169903d
2 changed files with 14 additions and 6 deletions

View file

@ -9,12 +9,12 @@ jobs:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Set Node.js 10.x
uses: actions/setup-node@master
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 12.x
- name: npm install
run: npm install

View file

@ -5,13 +5,21 @@ import path = require('path');
const toolDir = path.join(
__dirname,
'runner',
path.join(Math.random().toString(36).substring(7)),
path.join(
Math.random()
.toString(36)
.substring(7)
),
'tools'
);
const tempDir = path.join(
__dirname,
'runner',
path.join(Math.random().toString(36).substring(7)),
path.join(
Math.random()
.toString(36)
.substring(7)
),
'temp'
);