Skip to content

chore(deps): update actions/checkout action to v4 #102

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #102

# 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