chore(deps-dev): bump @commitlint/cli from 19.4.0 to 19.4.1 #5392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Build | |
run: | | |
# Workaround https://github.com/zeit/ncc/issues/457. | |
mv tsconfig.production.json tsconfig.json | |
npm run build | |
timeout-minutes: 5 | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Format | |
run: npm run format | |
timeout-minutes: 5 | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Lint | |
run: npm run lint | |
timeout-minutes: 5 | |
spellcheck: | |
name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Spellcheck | |
run: npm run spellcheck | |
timeout-minutes: 5 | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- name: Install latest npm | |
run: npm install --global npm@latest | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Test | |
run: npm run test:ci | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
timeout-minutes: 5 | |
types: | |
name: Types | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
node-version: 20 | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline | |
- name: Types | |
run: npm run types | |
timeout-minutes: 5 | |
merge-me: | |
needs: | |
- build | |
- format | |
- lint | |
- spellcheck | |
- test | |
- types | |
name: Merge me! | |
runs-on: ubuntu-latest | |
steps: | |
- name: Merge me! | |
uses: ridedott/merge-me-action@master | |
with: | |
GITHUB_TOKEN: ${{ secrets.DOTTBOTT_TOKEN }} | |
timeout-minutes: 5 |