This commit is contained in:
wh1te909 2022-04-28 07:00:09 +00:00
parent 699bd9de10
commit b8461c9dd8
1 changed files with 5 additions and 4 deletions

View File

@ -5,19 +5,20 @@ on:
pull_request: pull_request:
branches: [develop] branches: [develop]
defaults:
run:
working-directory: web
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: CD to web directory
run: cd web
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
- run: npm install - run: cd web && npm install
- name: Run Prettier formatting - name: Run Prettier formatting
run: npm run format run: npm run format