Bump rollup from 4.36.0 to 4.59.0 in the npm_and_yarn group across 1 directory #5
Workflow file for this run
This file contains hidden or 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: Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/check.yml' | |
| - 'src/resources/assets/**' | |
| - 'src/public/**' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/check.yml' | |
| - 'src/resources/assets/**' | |
| - 'src/public/**' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| jobs: | |
| check-js: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set registry authentication token | |
| run: echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> .npmrc | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Install dependencies | |
| run: npm install | |
| # Clone core to get access to the variabley stylesheet | |
| - uses: actions/checkout@v1 | |
| with: | |
| repository: biigle/core | |
| ref: master | |
| fetch-depth: 1 | |
| path: core | |
| - name: Update variables stylesheet link | |
| run: ln -sf ../../../../../core/resources/assets/sass/bootstrap/_variables.scss src/resources/assets/sass/_variables.scss | |
| # Don't use "npm run build" because it also runs the artisan command | |
| - name: Run Vite | |
| run: npx vite build | |
| - name: Check for uncommitted changes | |
| run: '[ -z "$(git status -s --porcelain | grep public)" ]' |