chore(deps-dev): bump @commitlint/config-conventional #40
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Build XAR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| - run: npm ci --ignore-scripts | |
| - run: npm run build | |
| - name: Upload XAR | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: exist-function-documentation-xar | |
| path: dist/*.xar | |
| test: | |
| name: Test (eXist latest) | |
| needs: build | |
| runs-on: ubuntu-latest | |
| services: | |
| exist: | |
| image: existdb/existdb:latest | |
| ports: | |
| - 8080:8080 | |
| - 8443:8443 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| - run: npm ci --ignore-scripts | |
| - name: Install Cypress binary | |
| run: npx cypress install | |
| - run: npm run build | |
| - name: Install XAR | |
| run: npx --yes @existdb/xst package install dist/exist-function-documentation-*.xar | |
| env: | |
| EXISTDB_USER: admin | |
| EXISTDB_PASS: | |
| - name: Run Cypress tests | |
| run: npx cypress run | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.ref == 'refs/heads/master' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| - run: npm ci --ignore-scripts | |
| - run: npx semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |