Skip to content

chore(deps-dev): Bump @rollup/plugin-commonjs from 25.0.8 to 28.0.0 #724

chore(deps-dev): Bump @rollup/plugin-commonjs from 25.0.8 to 28.0.0

chore(deps-dev): Bump @rollup/plugin-commonjs from 25.0.8 to 28.0.0 #724

Workflow file for this run

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