chore(deps-dev): bump @commitlint/config-conventional from 19.4.1 to 19.5.0 #46
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: "Legacy Checkin" | |
on: | |
push: | |
branches: | |
- legacy | |
pull_request: | |
branches: | |
- legacy | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "npm ci" | |
run: npm ci | |
- name: "commitlint pull requests" | |
if: ${{ github.event_name == 'pull_request' }} | |
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
- name: "commitlint legacy" | |
if: ${{ github.event_name == 'push' }} | |
run: npx commitlint --from ${{ github.event.before }} --to ${{ github.event.after }} --verbose | |
- name: "ESLint" | |
run: npx eslint | |
- name: "Build" | |
run: npm run build | |
- name: "Upload" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: gdata-provider.xpi | |
path: dist/gdata-provider.xpi |