Skip to content

Commit

Permalink
ci(intg): make workflow for component integration
Browse files Browse the repository at this point in the history
fix #18
  • Loading branch information
lemredd committed Dec 17, 2022
1 parent fb075b4 commit cf2def8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/intg.components.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Component Integration Tests
run-name: Component Integration Tests
on: [push]
jobs:
sample_unit_test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Testing on Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Cache node modules
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}_${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}_${{ hashFiles('package.json') }}
- run: npm install
- run: npm run test:intg
2 changes: 1 addition & 1 deletion .github/workflows/unit.components.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: calculator_components
name: Components Unit Tests
run-name: Component Unit Tests
on: [push]
jobs:
Expand Down

0 comments on commit cf2def8

Please sign in to comment.