Skip to content

Commit 7242ea8

Browse files
committed
Try building tabs
1 parent faf0ee9 commit 7242ea8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/new-workflow.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,39 @@ jobs:
7272
cd ${{ matrix.package.directory }}
7373
yarn tsc
7474
yarn test
75+
76+
test-tabs:
77+
name: Test and Typecheck tabs
78+
runs-on: ubuntu-latest
79+
needs: load-packages
80+
strategy:
81+
matrix:
82+
package: ${{ fromJson(needs.load-packages.outputs.tabs) }}
83+
84+
steps:
85+
- name: Check out source code
86+
uses: actions/checkout@v4
87+
88+
- name: Enable Corepack
89+
run: corepack enable
90+
91+
- name: Use Node.js 💻
92+
uses: actions/setup-node@v4
93+
with:
94+
node-version-file: .node-version
95+
cache: yarn
96+
97+
- name: Install dependencies
98+
run: yarn workspaces focus ${{ matrix.package.name }}
99+
100+
- name: Install playwright
101+
run: yarn playwright install --with-deps
102+
103+
- name: tsc and test
104+
run: |
105+
cd ${{ matrix.package.directory }}
106+
yarn tsc
107+
yarn test
108+
109+
- name: Build
110+
run: yarn build

0 commit comments

Comments
 (0)