Skip to content

fix(packaging): Update DevDependencies to the latest #48 #42

fix(packaging): Update DevDependencies to the latest #48

fix(packaging): Update DevDependencies to the latest #48 #42

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