Skip to content

Commit 10f2c6b

Browse files
Revert tests workflow to run scripts from root
"yarn workspaces focus" may be unnecessary after upgrading to Yarn Modern.
1 parent 7c06fcd commit 10f2c6b

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@ name: Tests
33
on:
44
push:
55
branches: [main, develop]
6-
paths-ignore:
7-
- 'demo/**'
86
pull_request:
97
branches: [main, develop]
108
schedule:
119
# 00:00 on Saturdays
1210
- cron: '0 0 * * SAT'
1311
workflow_dispatch:
1412

15-
defaults:
16-
run:
17-
working-directory: ./packages/regex-to-strings
18-
1913
jobs:
2014
test:
2115
name: Test
@@ -46,14 +40,15 @@ jobs:
4640
with:
4741
node-version: ${{ matrix.node-version }}
4842

49-
- run: yarn workspaces focus
43+
- run: yarn
5044
- run: npx prettier --check .
5145
working-directory: ./
52-
- run: yarn run -T build
53-
- run: yarn run -T lint
46+
- run: yarn run build
47+
- run: yarn run lint
5448
- run: yarn run test
5549

5650
- run: npx testpack-cli --keep=@types/*,ts-jest,typescript jest.config.js tsconfig.test.json src/e2e.spec.ts
51+
working-directory: ./packages/regex-to-strings
5752
# Workaround for #66
5853
continue-on-error: ${{ !matrix.require-successful-testpack }}
5954

0 commit comments

Comments
 (0)