2022-09-23 05:55:05 -05:00
|
|
|
name: Check Javascript style
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
2023-03-29 07:08:46 -05:00
|
|
|
concurrency:
|
|
|
|
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-09-23 05:55:05 -05:00
|
|
|
jobs:
|
2023-10-05 01:27:24 -05:00
|
|
|
check-javascript-style:
|
2022-09-23 05:55:05 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-03-12 04:15:44 -05:00
|
|
|
- uses: actions/checkout@v4
|
2022-09-23 05:55:05 -05:00
|
|
|
|
2023-11-27 04:23:23 -06:00
|
|
|
- name: Upgrade yarn
|
|
|
|
run: |
|
|
|
|
yarn set version berry
|
|
|
|
yarn set version 3
|
|
|
|
|
2022-09-23 05:55:05 -05:00
|
|
|
- name: Install Node modules
|
2023-03-28 08:23:56 -05:00
|
|
|
run: |
|
|
|
|
cd web
|
|
|
|
yarn install
|
2022-09-23 05:55:05 -05:00
|
|
|
|
|
|
|
- name: Run the linter
|
2023-03-28 08:23:56 -05:00
|
|
|
run: |
|
|
|
|
cd web
|
|
|
|
yarn run linter
|