update package json #75
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: Push Workflow | |
on: | |
# When commit pushed to branches not master nad release/next | |
push: | |
branches-ignore: | |
- 'master' | |
- 'release/next' | |
env: | |
CI: true | |
jobs: | |
lint-build: | |
name: 'Lint | Build' | |
runs-on: macos-12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint files | |
run: npm run lint | |
- name: Check licenses | |
id: check_licenses | |
run: | | |
npm install -g license-checker | |
license-checker --failOn "AGPL-1.0-only;AGPL-1.0-or-later;AGPL-3.0-only;AGPL-3.0-or-later;GPL-1.0-only;GPL-1.0-or-later;GPL-2.0-only;GPL-2.0-or-later;GPL-3.0-only;GPL-3.0-or-later;LGPL-2.0-only;LGPL-2.0-or-later;LGPL-2.1-only;LGPL-2.1-or-later;LGPL-3.0-only;LGPL-3.0-or-later;LGPLLR;MPL-1.1" | |
- name: Build Package | |
run: | | |
npm run build | |