Bump js-yaml from 4.1.1 to 4.3.0 #91
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| # Least-privilege: CI only reads the repo; no job pushes commits, releases, or comments. | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GitHub_TOKEN }} | |
| steps: | |
| - name: Setup JS | |
| uses: zotero-plugin-dev/workflows/setup-js@main | |
| - name: Run Lint | |
| run: npm run lint:check | |
| - name: Check XHTML well-formedness | |
| run: npm run check:xhtml | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GitHub_TOKEN }} | |
| steps: | |
| - name: Setup JS | |
| uses: zotero-plugin-dev/workflows/setup-js@main | |
| - name: Run Build | |
| run: npm run build | |
| - name: Upload build result | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-result | |
| path: .scaffold/build | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - build | |
| steps: | |
| - name: Setup JS | |
| uses: zotero-plugin-dev/workflows/setup-js@main | |
| - run: npm run test |