Skip to content

Commit

Permalink
chore: test if licesnse workflow works
Browse files Browse the repository at this point in the history
  • Loading branch information
bmstefanski committed Dec 29, 2023
1 parent 3dc1714 commit 5031b3f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
license_check:
timeout-minutes: 15
environment: production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -17,6 +18,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Checks licenses of all dependencies in lockfile
run: npx --yes license-checker-rseidelsohn --production --excludePrivatePackages --onlyAllow "MIT;Apache;AAL;BSD;Artistic;CC0;ISC;ISCL;PostgreSQL License;Public Domain;Unlicense;UPL;W3C;WTFPL;Python;CC-;BlueOak"
run: |
yarn global add license-checker-rseidelsohn
export PATH="$(yarn global bin):$PATH"
license-checker-rseidelsohn --onlyAllow "Apache;AAL;BSD;Artistic;" --production --excludePrivatePackages --json
echo $?
1 change: 0 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down

0 comments on commit 5031b3f

Please sign in to comment.