Skip to content

Commit

Permalink
Separate test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
evrys committed Aug 1, 2024
1 parent 0013a30 commit e74a95e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,11 @@ on:
push:
branches:
- main
pull_request:
branches:
- main


permissions:
contents: read # for checkout

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: 'npm'

- run: npm clean-install
- run: npm run test

build-and-release:
name: Release
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: 'npm'

- run: npm clean-install
- run: npm run test

0 comments on commit e74a95e

Please sign in to comment.