Skip to content

Merge pull request #44 from MiracleUFO/MiracleUFO-patch-1 #123

Merge pull request #44 from MiracleUFO/MiracleUFO-patch-1

Merge pull request #44 from MiracleUFO/MiracleUFO-patch-1 #123

Workflow file for this run

# .github/workflows/lint.yml
name: Lint # name of the action (displayed in the github interface)
on: [push, pull_request]
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Code Linting
run: npm run lint
env:
DEFAULT_BRANCH: "main"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}