Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Magda98 committed Oct 16, 2024
1 parent 49599c7 commit 35d4515
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: use node.js
uses: actions/setup-node@v3
with:
node-version: "22.x"
cache: "npm"
- run: npm ci
- run: npm run build
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "22.x"
- run: npm install
cache: "npm"
- run: npm ci
- run: npm run test

0 comments on commit 35d4515

Please sign in to comment.