diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index df57c56..e57b5da 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -1,27 +1,26 @@ name: Code check -on: - push: - branches: ["main"] +on: + push: + branches: ['main'] pull_request: - branches: ["*"] + branches: ['*'] -jobs: - lint: +jobs: + lint: runs-on: ubuntu-latest name: npm run lint steps: - - name: Checks-out your repository - uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Install Node.js uses: actions/setup-node@v3 with: node-version: 18 - + - name: Install dependencies run: npm i - + - run: npm run lint