chore(deps-dev): bump @commitlint/cli from 17.8.0 to 18.4.4 #383
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
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
# Portions Copyright (C) Philipp Kewisch | |
--- | |
name: "Checkin" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "Setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "latest" | |
- name: "npm ci" | |
run: npm ci | |
- name: "Commit lint" | |
uses: wagoid/commitlint-github-action@v4 | |
with: | |
configFile: commitlint.config.cjs | |
firstParent: true | |
failOnWarnings: true | |
- name: "ESLint" | |
run: npx eslint --ext jsm --ext js . | |
build-and-test: | |
name: "Build & Test" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: "Setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "latest" | |
- name: "npm ci" | |
run: npm ci | |
- name: "Build" | |
run: npm run build | |
- name: "Upload Build" | |
uses: actions/upload-artifact@master | |
with: | |
name: gdata-provider.xpi | |
path: dist/gdata-provider.xpi | |
- name: "Run Tests" | |
run: npm run test | |
- name: "Coveralls" | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |