Skip to content

Commit

Permalink
fix: add --yes option to npx call in licenses workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bmstefanski committed Dec 29, 2023
1 parent cfca310 commit bf27842
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- run: echo "node_version=$(cat .github/nodejs.version)" >> $GITHUB_ENV
- name: "Use node ${{ env.node_version }}"
uses: actions/setup-node@v3
with:
node-version: "${{ env.node_version }}"
cache: "yarn"
- name: Checks licenses of all dependencies in lockfile
run: npx 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: 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"
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
"@semantic-release/release-notes-generator": "^12.1.0",
"@t3-oss/env-nextjs": "^0.7.1",
"@vercel/otel": "^0.3.0",
"autoprefixer": "^10.4.16",
"class-variance-authority": "^0.7.0",
"lodash": "^4.17.21",
"next": "^14.0.5-canary.27",
"next-compose-plugins": "^2.2.1",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^2.0.0",
"zod": "^3.22.4",
"postcss": "^8.4.31",
"autoprefixer": "^10.4.16",
"tailwindcss": "^3.4.0"
"tailwindcss": "^3.4.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
Expand Down

0 comments on commit bf27842

Please sign in to comment.