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] operating-system: [ubuntu-latest, windows-latest]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@v2
- name: Set Node.js 10.x - name: Set Node.js 12.x
uses: actions/setup-node@master uses: actions/setup-node@v1
with: with:
node-version: 10.x node-version: 12.x
- name: npm install - name: npm install
run: npm install run: npm install

View file

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