mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-09 05:31:11 +00:00
Use azp for cross-platform support for now
This commit is contained in:
parent
79f71d92a1
commit
5edad1ec64
2 changed files with 40 additions and 27 deletions
40
.azure-pipelines.yml
Normal file
40
.azure-pipelines.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
trigger:
|
||||
- master
|
||||
- features/*
|
||||
|
||||
jobs:
|
||||
- job: Tests
|
||||
displayName: Run tests
|
||||
strategy:
|
||||
matrix:
|
||||
linux:
|
||||
imageName: 'ubuntu-16.04'
|
||||
mac:
|
||||
imageName: 'macos-10.13'
|
||||
windows:
|
||||
imageName: 'vs2017-win2016'
|
||||
pool:
|
||||
vmImage: $(imageName)
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: "10"
|
||||
|
||||
- script: npm install
|
||||
|
||||
- script: npm test
|
||||
|
||||
- job: Lint
|
||||
displayName: Linting
|
||||
pool:
|
||||
vmImage: 'ubuntu-16.04'
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: "10"
|
||||
|
||||
- script: npm install
|
||||
|
||||
- script: npm run format-check
|
Loading…
Add table
Add a link
Reference in a new issue