Skip to content

Commit 002639c

Browse files
authored
πŸ‘· Build and test during CI (#45)
* πŸ‘· Build and test during CI * πŸ’š I think there should be a compile step before `pnpm source` * πŸ“Œ Change the workspace dependency in toml package to an actual version * πŸ“Œ pnpm i * πŸ’š Remove --ignore-scripts * πŸ™ˆ Ignore `.pnpm-store` for `act`
1 parent 4361a20 commit 002639c

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

β€Ž.github/workflows/ci.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ jobs:
2222
with:
2323
cache: pnpm
2424
- name: Install dependencies
25-
run: pnpm install --ignore-scripts
25+
run: pnpm install
26+
27+
- name: Build and test
28+
run: |
29+
pnpm -r compile-ts
30+
pnpm -r source
31+
pnpm -r build
32+
pnpm -r test
33+
2634
- name: Run linting/formatting checks
2735
run: |
2836
pnpm lint:ci

β€Ž.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# pnpm
2+
.pnpm-store
3+
14
# Logs
25
logs
36
*.log

β€Žpackages/toml/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"author": "",
2323
"license": "ISC",
2424
"dependencies": {
25-
"@ast-grep/setup-lang": "workspace:*"
25+
"@ast-grep/setup-lang": "0.0.3"
2626
},
2727
"peerDependencies": {
2828
"tree-sitter-cli": "0.24.6"

β€Žpnpm-lock.yaml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)