Skip to content

Commit

Permalink
fix gha again
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Jan 10, 2024
1 parent f058898 commit bb9d250
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: lint
on: push
jobs:
build:
runs-on: ubuntu-latest
name: Lint/Format check
steps:
- uses: actions/checkout@v3
- name: install node 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: install
run: npm install
- name: lint *.js
run: npm run eslint
- name: format code
run: npm run prettier-check
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,5 @@ jobs:
node-version: ${{ matrix.node }}
- name: install
run: npm install
- name: lint *.js
run: npm run eslint
- name: format code
run: npm run prettier-check
- name: build
run: npm run build

0 comments on commit bb9d250

Please sign in to comment.