Skip to content

Commit 14273a3

Browse files
authored
Setup pkg.pr.new and simplify workflow (#130)
* ci: setup pkg.pr.new * simplify workflow * allow oidc * update codecov action
1 parent 877b76c commit 14273a3

3 files changed

Lines changed: 446 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,13 @@ on:
99
- main
1010

1111
jobs:
12-
build:
13-
name: Checking build
14-
runs-on: ubuntu-24.04-arm
15-
steps:
16-
- name: Checkout Repo
17-
uses: actions/checkout@v6
18-
19-
- name: Setup Node.js
20-
uses: actions/setup-node@v6
21-
with:
22-
node-version: 25
23-
cache: yarn
24-
25-
- name: Install Dependencies
26-
run: yarn install --immutable
27-
28-
- name: Build
29-
run: yarn build
30-
31-
test:
32-
name: Running tests
12+
integration:
13+
name: Check everything
3314
runs-on: ubuntu-24.04-arm
3415
permissions:
3516
id-token: write
3617
steps:
37-
- name: Checkout Repo
18+
- name: Checkout repo
3819
uses: actions/checkout@v6
3920

4021
- name: Setup Node.js
@@ -43,16 +24,19 @@ jobs:
4324
node-version: 25
4425
cache: yarn
4526

46-
- name: Install Dependencies
27+
- name: Install dependencies
4728
run: yarn install --immutable
4829

49-
- name: Execute Tests
30+
- name: Run tests
5031
run: |
5132
node \
5233
--test --test-reporter spec --test-reporter-destination=stdout \
5334
--experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info
5435
5536
- name: Upload coverage reports to Codecov
56-
uses: codecov/codecov-action@v5
37+
uses: codecov/codecov-action@v6
5738
with:
5839
use_oidc: true
40+
41+
- name: Build and publish to pkg.pr.new
42+
run: yarn pkg-pr-new publish

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
"metro": "^0.83.3",
128128
"mitata": "^1.0.34",
129129
"os-browserify": "^0.3.0",
130+
"pkg-pr-new": "^0.0.66",
130131
"pretty-bytes": "^7.1.0",
131132
"rimraf": "^6.1.2",
132133
"tinybench": "^5.1.0",

0 commit comments

Comments
 (0)