Refactor MainContent component to correctly retrieve page label #7
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, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "latest" # Set to always use the latest version of Node.js | |
check-latest: true # Ensure you are using the most up-to-date version that satisfies the spec | |
cache: "yarn" # Cache dependencies installed with yarn | |
cache-dependency-path: "**/yarn.lock" # Cache key will be based on yarn.lock file to reflect dependency changes | |
- name: Install Dependencies | |
run: npm install --global yarn && yarn install | |
- name: Lint | |
run: yarn lint |