mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
633 B
22 lines
633 B
name: Lint VueJS Files on PR Request |
|
on: |
|
pull_request: |
|
jobs: |
|
vue-lint: |
|
runs-on: ubuntu-latest |
|
steps: |
|
# Checkout the current repo |
|
- name: Checkout current repository |
|
uses: actions/checkout@v4 |
|
# Setup NodeJS version 16 |
|
- name: Setup NodeJS V16.x.x |
|
uses: actions/setup-node@v3 |
|
with: |
|
node-version: '16' |
|
# CD into the current client directory and lint and build the client |
|
- name: Lint and Build the client |
|
run: | |
|
cd ./ErsatzTV/client-app/ |
|
npm ci --no-optional |
|
npm run lint |
|
npm run build --if-present
|
|
|