chore(deps): update actions/checkout action to v4 #102
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
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
name: Lint and build Global Scoreboard | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- "global-scoreboard/**" | |
- ".github/workflows/lint-and-build-global-scoreboard.yml" | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- "global-scoreboard/**" | |
- ".github/workflows/lint-and-build-global-scoreboard.yml" | |
jobs: | |
ESLint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: global-scoreboard | |
steps: | |
- name: Checkout ${{ github.repository }}/${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
- run: npm ci | |
- run: npm run lint | |
Build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: global-scoreboard | |
steps: | |
- name: Checkout ${{ github.repository }}/${{ github.ref }} | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
- run: npm ci | |
- run: npm run build:no-compress |