Bump eslint-plugin-jsdoc from 62.5.5 to 62.7.0 #4823
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
| # Node.js CI workflow | |
| name: Node.js CI | |
| on: [push, pull_request, merge_group] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| IS_PUSH_MASTER: ${{ github.ref == 'refs/heads/master' }} | |
| IS_PUSH_DEVELOP: ${{ github.ref == 'refs/heads/develop' }} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Run lint | |
| run: yarn run lint | |
| - name: Run tests | |
| run: yarn run test-ci | |
| - name: Build | |
| run: | | |
| rm -Rf ./build | |
| yarn run build | |
| - name: Prepare for deploy (if master or develop branch) | |
| if: env.IS_PUSH_DEVELOP == 'true' || env.IS_PUSH_MASTER == 'true' | |
| run: | | |
| yarn run build-demo | |
| cp -Rf tests/pacs/viewer.html ./build/demo | |
| cp tests/favicon.ico ./build/demo | |
| ./resources/scripts/prep-deploy.sh -f build/demo/viewer.html | |
| - name: Push to gh-pages (if master or develop branch) | |
| if: env.IS_PUSH_DEVELOP == 'true' || env.IS_PUSH_MASTER == 'true' | |
| run: | | |
| DEPLOY_DIR=./demo/trunk | |
| if ${{ env.IS_PUSH_MASTER }}; then | |
| DEPLOY_DIR=./demo/stable | |
| fi | |
| ALL=/* | |
| git config user.email github-actions@github.com | |
| git config user.name github-actions | |
| git checkout . | |
| git checkout gh-pages | |
| rm -Rf $DEPLOY_DIR$ALL | |
| cp -Rf ./build/demo/* $DEPLOY_DIR | |
| git add -A $DEPLOY_DIR | |
| git diff-index --quiet HEAD || | |
| git commit -m "CI run ${{ github.run_number }} pushed to gh-pages" | |
| git push -fq origin gh-pages |