Merge pull request #75 from zanix/dependabot/npm_and_yarn/stylelint-1… #171
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: Automated Tests | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
permissions: | |
contents: read | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: 📥 Check out repository | |
uses: actions/checkout@v4 | |
- name: 📜 Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: 🔗 Install dependencies | |
run: npm install | |
- name: 🧹 Lint | |
run: npm run lint |