Skip to content

Commit

Permalink
fix(workflow): updated test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinrefvol committed May 23, 2024
1 parent d62402e commit cc00cc6
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
name: 'CI'
name: "Build 🛠️ & Test 🧪"

on:
push:
branches-ignore:
- main # Use branch protection rule for main that require status checks to pass before merging
pull_request:
paths:
- "src/**"
- "package.json"
- "package-lock.json"
- "yarn.lock"
- "Dockerfile"
types: [
opened,
edited,
synchronize
]


jobs:
build:
Expand All @@ -14,9 +24,10 @@ jobs:
node-version: [19]

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down

0 comments on commit cc00cc6

Please sign in to comment.