Skip to content

Commit

Permalink
Merge pull request #79 from VictoriqueMoe/hg-action-eslint
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
VictoriqueMoe committed Mar 1, 2024
2 parents bf4d097 + c0bdd94 commit c04c417
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: npm install
- name: ESLint
run: npm run lint
- name: prettier
run: npm run prettier
- name: compile
run: npm run build

0 comments on commit c04c417

Please sign in to comment.