Skip to content

Commit

Permalink
Update push action to lint and format
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkView committed Dec 10, 2024
1 parent 680b3c1 commit 14e773f
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test
name: Lint, Format and Build

on:
push:
Expand All @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [22.x, 23.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -22,10 +22,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
# - name: Run tests
# run: yarn test
- name: Run eslint
run: yarn run lint
- name: Run prettier
run: yarn run format
- name: Run build
run: yarn build

0 comments on commit 14e773f

Please sign in to comment.