Skip to content

Commit 793f2a3

Browse files
committed
refactor: convert to workspace, ensure tests are working
1 parent 799a6d2 commit 793f2a3

File tree

93 files changed

+29339
-20755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+29339
-20755
lines changed

.circleci/config.yml

-141
This file was deleted.

.github/workflows/acceptance.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
on: [pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node-version: [ 18.x, 20.x, 21.x, 22.x ]
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
cache: 'npm'
19+
- name: Install Dependencies
20+
run: npm install
21+
- name: Run Build
22+
run: npm run build
23+
- name: Lint Codebase
24+
run: npm run lint
25+
- name: Unit Tests
26+
if: matrix.node-version != '22.x'
27+
run: npm run test
28+
- name: Publish code coverage
29+
if: matrix.node-version == '22.x'
30+
uses: paambaati/[email protected]
31+
env:
32+
CC_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_REPORTER_ID}}
33+
with:
34+
coverageCommand: npm run coverage

.github/workflows/check-codebase.yml

-94
This file was deleted.

.github/workflows/chromatic.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# .github/workflows/chromatic.yml
2+
3+
name: "Chromatic"
4+
5+
on: push
6+
7+
jobs:
8+
chromatic:
9+
name: Run Chromatic
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
- name: Install dependencies
20+
run: npm install
21+
- name: Run Build
22+
run: npm run build
23+
# - name: Run Chromatic
24+
# uses: chromaui/action@latest
25+
# with:
26+
# # ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
27+
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
28+
# workingDir: packages/nft-bitmap-react

.github/workflows/codeql.yml

-76
This file was deleted.

0 commit comments

Comments
 (0)