Skip to content

Commit

Permalink
ci(github-actions): split pipelines for tests and publish pips
Browse files Browse the repository at this point in the history
  • Loading branch information
blmarquess committed Feb 12, 2024
1 parent 72462f4 commit 7910433
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
on:
push:
branches: [main]
paths:
- "package.json"
branches:
- main

jobs:
publish:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: A]lication Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm test

0 comments on commit 7910433

Please sign in to comment.