Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9308a3d

Browse files
committed
Enable GitHub actions on tre branch
1 parent 89fb3dc commit 9308a3d

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Test
77

88
on:
99
push:
10-
branches: [master]
10+
branches: [master, tre]
1111
pull_request:
12-
branches: [master]
12+
branches: [master, tre]
1313

1414
jobs:
1515
test:
@@ -18,14 +18,14 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
os: [ubuntu-latest, windows-latest]
22-
node: [16.13.0, 18.x]
21+
os: [ubuntu-latest] # `windows-latest` not yet supported
22+
node: [16.13.0, latest]
2323
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424

2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727
- name: Use Node.js ${{ matrix.node }}
28-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v3
2929
with:
3030
node-version: ${{ matrix.node }}
3131
- run: npm ci
@@ -35,11 +35,11 @@ jobs:
3535
name: "Lint & Type Check"
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v2
39-
- name: Use Node.js 18.x
40-
uses: actions/setup-node@v2
38+
- uses: actions/checkout@v3
39+
- name: Use Node.js LTS
40+
uses: actions/setup-node@v3
4141
with:
42-
node-version: 18.x
42+
node-version: lts/*
4343
- run: npm ci
4444
- run: npm run lint
45-
- run: npm run types:build
45+
- run: npm run types:bundle

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"packages/*"
1717
],
1818
"scripts": {
19+
"postinstall": "patch-package",
1920
"build": "node scripts/build.mjs",
2021
"capnp:workerd": "capnpc -o ts packages/tre/src/runtime/config/workerd.capnp",
2122
"clean": "rimraf './packages/*/dist' './dist'",

0 commit comments

Comments
 (0)