Skip to content

Commit

Permalink
add test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mzywang committed May 21, 2024
1 parent 87cfa3d commit 1492f8a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
git commit -a -m "fix(lint): auto-fix [ci]"
git push
build:
build-and-test:
needs: lint
name: build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,3 +84,9 @@ jobs:

- name: Build project
run: yarn build

- name: Build Docker
run: yarn docker:build

- name: Test
run: yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint . --ext .ts --fix",
"build": "run-s codegen && graph build",
"build:docker": "docker build -t matchstick .",
"docker:build": "docker build -t matchstick .",
"buildonly": "graph build",
"deploy:alchemy": "graph deploy --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz",
"codegen": "graph codegen --output-dir src/types/",
Expand Down

0 comments on commit 1492f8a

Please sign in to comment.