Merge pull request #1 from alehinoleg/module1-task1 #3
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: Project check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: '*' | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- uses: actions/checkout@master | |
name: Checkout | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Run checks | |
run: | | |
npm run lint |