Skip to content

fix(plugin): use the user's vite.config #1416

fix(plugin): use the user's vite.config

fix(plugin): use the user's vite.config #1416

name: Check and Update Third Party Notices
on: pull_request
jobs:
license-check-setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
- name: Global install generate-license-file
run: pnpm i -g generate-license-file
- name: Generate pages licenses
run : |
pnpm i --ignore-scripts
pnpm rebuild
pnpm run generate-notices
working-directory: ./packages/pages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate root level licenses
run : |
pnpm i --ignore-scripts
pnpm rebuild
pnpm run generate-notices
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Update THIRD-PARTY-NOTICES
uses: EndBug/add-and-commit@v9
with:
message: "Automated update to THIRD-PARTY-NOTICES from github action's 3rd party notices check"
push: true
default_author: github_actions