Skip to content

Commit

Permalink
ci: update test command (#13)
Browse files Browse the repository at this point in the history
* ci: update test command

* ci: update actions version
  • Loading branch information
tutkli authored Apr 11, 2024
1 parent 1686eb1 commit ef76ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
needs:
- build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: corepack enable
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: '**/package-lock.json'
- name: Install
run: npm ci
- name: Test
run: npm run tests:ci
run: npm run test
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"build": "nx run-many --target build --all --parallel=1",
"build:lib": "nx build ngx-sonner",
"prettify": "prettier --write .",
"test": "nx test ngx-sonner",
"tests:ci": "nx test ngx-sonner --runInBand --passWithNoTests"
"test": "nx test ngx-sonner"
},
"dependencies": {
"@angular/animations": "17.3.2",
Expand Down

0 comments on commit ef76ad8

Please sign in to comment.