Skip to content

Commit

Permalink
build: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Apr 23, 2024
1 parent f746e40 commit 897ff83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
show-progress: false

- name: install pnpm
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
with:
standalone: true
Expand All @@ -46,7 +46,10 @@ jobs:
- name: Install project
run: pnpm install --frozen-lockfile

- name: test
- name: Build
run: pnpm build

- name: Test
run: pnpm test


Expand All @@ -60,7 +63,7 @@ jobs:
with:
show-progress: false

- name: install pnpm
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0

- name: Setup node
Expand All @@ -72,5 +75,8 @@ jobs:
- name: Install project
run: pnpm install --frozen-lockfile

- name: test
- name: Build
run: pnpm build

- name: Test
run: pnpm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"packageManager": "[email protected]",
"scripts": {
"test": "make test"
"build": "make build",
"test": "iced test/run.iced"
}
}

0 comments on commit 897ff83

Please sign in to comment.