Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add button component #69

Merged
merged 13 commits into from
Jan 8, 2024
Prev Previous commit
Next Next commit
Add test job to workflows and update CI test script
raducristianpopa committed Dec 21, 2023
commit 89b89ac959f8a0923c093de02de32cbd7154c7b0
13 changes: 13 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -38,3 +38,16 @@ jobs:
name: ${{ github.event.pull_request.number }}-${{ matrix.browser }}
path: dist/${{ matrix.browser }}/${{ matrix.browser }}.zip
if-no-files-found: error

test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Environment setup
uses: ./.github/actions/setup

- name: Test
run: pnpm test:ci
13 changes: 13 additions & 0 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -25,3 +25,16 @@ jobs:
- name: Build
shell: bash
run: pnpm build ${{ matrix.browser}}

test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Environment setup
uses: ./.github/actions/setup

- name: Test
run: pnpm test:ci
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
"lint:type": "tsc --noEmit",
"local-signatures": "pnpm tsx --watch ./local-signatures/index.ts",
"test": "jest --maxWorkers=2 --passWithNoTests",
"ci:test": "run-s \" test --ci --reporters=\"default\" --reporters=\"github-actions\" \""
"test:ci": "pnpm test -- --reporters=default --reporters=github-actions"
},
"dependencies": {
"axios": "^1.5.1",