File: typescript-build-steps.yaml

package info (click to toggle)
golang-github-microsoft-dev-tunnels 0.0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,988 kB
  • sloc: cs: 9,969; java: 2,767; javascript: 328; xml: 186; makefile: 5
file content (45 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
steps:
- task: NodeTool@0
  displayName: 'Use Node 18.x'
  inputs:
    versionSpec: 18.x

- task: Npm@1
  displayName: 'Restore npm packages'
  inputs:
    workingDir: ts

- task: Npm@1
  displayName: Compile
  inputs:
    command: custom
    workingDir: ts
    customCommand: 'run compile'

- task: Npm@1
  displayName: Lint
  inputs:
    command: custom
    workingDir: ts
    customCommand: 'run eslint'

- task: Npm@1
  displayName: Build
  inputs:
    command: custom
    workingDir: ts
    customCommand: 'run build'

- task: Npm@1
  displayName: Run unit tests
  inputs:
    command: custom
    workingDir: ts
    customCommand: 'run test'

- task: Npm@1
  displayName: Pack
  inputs:
    command: custom
    workingDir: ts
    customCommand: 'run pack --release'