Skip to content

Update action.yml

Update action.yml #61

Workflow file for this run

name: Eslint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
PROTO_BUILD_SCRIPT: "build-protos.sh"
jobs:
eslint:
runs-on: ubuntu-latest
env:
ROOT_PATH: sorusora-ai
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 21
- name: Install dependencies
run: |
cd $ROOT_PATH
npm install
- name: Run ESLint
run: |
cd $ROOT_PATH
chmod +x ${{ env.PROTO_BUILD_SCRIPT }} && ./${{ env.PROTO_BUILD_SCRIPT }}
npm run lint