chore(deps): update dependency @commitlint/cli to v17.8.1 - autoclosed #660
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: ci | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14, 15] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@master | |
- name: Setup node env 📦 | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Get npm cache directory 🏗 | |
id: npm-cache | |
run: echo "::set-output name=dir::$(npm config get cache)" | |
- name: Restore cached node_modules 🤷♂️ | |
uses: actions/[email protected] | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies 🛠 | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install | |
- name: Generate the static site ⚡️ | |
run: npm run generate | |
- name: Check for lint errors 👀 | |
run: npm run lint | |
- name: Run Tests 🧪 | |
run: npm run test | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |