This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
Use Node 18 #3540
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: | |
push: | |
branches-ignore: | |
- 'master' | |
- 'zowe-v?-lts' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
lint: | |
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, '[ci skip]') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Downgrade Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.5' | |
- name: Install Node Package Dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint |