Merge pull request #5 from NotAmigo/module5-task1 #14
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: '*' | |
name: Project check | |
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 test && npm run lint |