This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
Script execution bug fix #129
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: Run Linter | |
on: | |
push: | |
branches: | |
- main # Adjust this to your main branch name | |
pull_request: | |
branches: | |
- main # Adjust this to your main branch name | |
jobs: | |
lint: | |
name: Run Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 # Adjust the Node.js version as needed | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run `yarn lint` | |
run: yarn lint # Adjust this command if your linting script has a different name | |