Skip to content

Commit 7af8920

Browse files
authored
Merge branch 'main' into fix-filelist
2 parents 29d4fc7 + 1c156c2 commit 7af8920

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/validate.yml renamed to .github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: validate
1+
name: CI
22
on:
33
push:
44
branches:
@@ -14,7 +14,7 @@ on:
1414
pull_request:
1515
branches-ignore: ['all-contributors/**']
1616
jobs:
17-
main:
17+
validate:
1818
strategy:
1919
matrix:
2020
node: [12, 14, 16]
@@ -36,14 +36,18 @@ jobs:
3636
env:
3737
HUSKY_SKIP_INSTALL: true
3838

39-
- name: ▶️ Run validate script
40-
run: npm run validate
39+
- name: ✍ Lint
40+
run: npm run lint
41+
- name: 🧪 Test
42+
run: npm run test -- --coverage
43+
- name: 🏗 Build
44+
run: npm run build
4145

4246
- name: ⬆️ Upload coverage report
4347
uses: codecov/codecov-action@v1
4448

4549
release:
46-
needs: main
50+
needs: validate
4751
runs-on: ubuntu-latest
4852
if:
4953
${{ github.repository == 'testing-library/user-event' &&

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"test": "kcd-scripts test",
3333
"test:debug": "kcd-scripts --inspect-brk test --runInBand",
3434
"test:update": "npm test -- --updateSnapshot --coverage",
35-
"validate": "kcd-scripts validate",
36-
"typecheck": "kcd-scripts typecheck"
35+
"validate": "kcd-scripts typecheck"
3736
},
3837
"devDependencies": {
3938
"@ph.fritsche/scripts-config": "^2.2.4",

0 commit comments

Comments
 (0)