WEBUI-1592: align with lts 2025 as 2025.1.0 & pomote #3133
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: | |
- lts-2025 | |
workflow_call: | |
inputs: | |
branch: | |
description: 'The current branch' | |
default: lts-2025 | |
type: string | |
required: false | |
secrets: | |
NPM_PACKAGES_TOKEN: | |
description: 'NPM_PACKAGES_TOKEN' | |
required: true | |
env: | |
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'lts-2025' }} | |
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: 18 | |
scope: '@nuxeo' | |
- name: Install | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npm install | |
- name: Lint | |
run: npm run lint |