Skip to content

build(deps-dev): bump rollup from 3.28.0 to 3.29.0 #21

build(deps-dev): bump rollup from 3.28.0 to 3.29.0

build(deps-dev): bump rollup from 3.28.0 to 3.29.0 #21

Workflow file for this run

name: Publish packages
on:
push:
branches:
- master
- release-*
pull_request:
branches:
- master
- release-*
jobs:
docs:
name: Build docs
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm run docs
build:
name: Build bundle and publish
runs-on: ubuntu-latest
needs: [docs]
steps:
- name: Checkout ${{ matrix.node }}
uses: actions/checkout@v3
- name: Setup node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache dependencies ${{ matrix.node }}
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}
- run: |
npm ci
npm run build
npm publish --dry-run