chore: simplify workflows and remove commitlint dependency

This commit is contained in:
Liz Mitchell 2023-01-11 09:27:50 -08:00
parent d5c927a88f
commit c83ceb88d9
6 changed files with 21 additions and 3301 deletions

View File

@ -1,20 +0,0 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- uses: google/wireit@setup-github-actions-caching/v1
- run: npm ci
- run: npm run build
env:
WIREIT_FAILURES: continue

View File

@ -7,13 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- run: npm ci
- run: 'echo "${PR_TITLE}" | npx commitlint'
- run: npm install -g commitlint @commitlint/config-conventional
- run: 'echo "${PR_TITLE}" | commitlint -x @commitlint/config-conventional'
env:
PR_TITLE: ${{ github.event.pull_request.title }}

View File

@ -1,4 +1,4 @@
name: publish
name: Publish
on:
push:

View File

@ -1,8 +1,24 @@
name: test
name: Tests
on: [push, pull_request]
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- uses: google/wireit@setup-github-actions-caching/v1
- run: npm ci
- run: npm run build
env:
WIREIT_FAILURES: continue
test:
runs-on: ubuntu-latest

3267
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -39,11 +39,9 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.3.0",
"@types/jasmine": "^4.0.3",
"@web/test-runner": "^0.15.0",
"@web/test-runner-playwright": "^0.9.0",
"commitlint": "^17.3.0",
"jasmine": "^4.5.0",
"sass": "^1.52.3",
"sass-true": "^6.1.0",
@ -51,11 +49,6 @@
"web-test-runner-jasmine": "^0.0.2",
"wireit": "^0.9.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"wireit": {
"build": {
"dependencies": [