chore(deps-dev): Bump @vue/compiler-sfc from 3.5.7 to 3.5.10 in /examples/vue-cli #715
Workflow file for this run
This file contains 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: Node | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- stable* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
examples: ["html", "nuxt", "vite", "vue-cli"] | |
name: examples-build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- name: Set up node ${{ matrix.node-version }} | |
uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b # v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies and build library | |
run: | | |
npm ci | |
npm run build --if-present | |
npm pack | |
- name: Install example dependencies | |
working-directory: "examples/${{ matrix.examples }}" | |
run: | | |
npm ci | |
version=$(cat ../../package.json | jq --raw-output .version) | |
npm install -D ../../skjnldsv-vue-plyr-$version.tgz | |
- name: Build ${{ matrix.examples }} example | |
working-directory: "examples/${{ matrix.examples }}" | |
run: npm run build --if-present | |
summary: | |
runs-on: ubuntu-latest | |
needs: build | |
if: always() | |
name: examples-summary | |
steps: | |
- name: Summary status | |
run: if ${{ needs.build.result != 'success' && needs.build.result != 'skipped' }}; then exit 1; fi |