Skip to content

Commit

Permalink
add tests into build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 20, 2024
1 parent 9bd4385 commit 6cc6cc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ jobs:
with:
node-version: "20"
cache: "yarn"
- run: yarn install
- run: yarn build
- name: Install dependencies
run: yarn install --immutable
- name: Run tests
run: yarn test
- name: Build pages
run: yarn build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mamba activate node20
Install dependencies:

```bash
yarn install
yarn install --immutable
```

Run dev locally:
Expand Down

0 comments on commit 6cc6cc6

Please sign in to comment.