-
Notifications
You must be signed in to change notification settings - Fork 61
42 lines (36 loc) · 974 Bytes
/
lint.yaml
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
# name: Lint
# on:
# pull_request:
# branches:
# - maintenance-3.1.x
# workflow_call:
# inputs:
# branch:
# description: 'The current branch'
# default: maintenance-3.1.x
# type: string
# required: false
# secrets:
# NPM_PACKAGES_TOKEN:
# description: 'NPM_PACKAGES_TOKEN'
# required: true
# env:
# BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }}
# jobs:
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# ref: ${{ env.BRANCH_NAME }}
# - uses: actions/setup-node@v3
# with:
# registry-url: 'https://packages.nuxeo.com/repository/npm-public/'
# node-version: 14
# scope: '@nuxeo'
# - name: Install
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: npm install
# - name: Lint
# run: npm run lint