Added node.js 12.x setup step
This commit is contained in:
Родитель
f966cc73e6
Коммит
897b71e14f
|
@ -16,12 +16,15 @@ jobs:
|
|||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Setup .npmrc file to publish to npm
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
# Runs a single command using the runners shell
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
|
Загрузка…
Ссылка в новой задаче