Skip to content

Fix validateOn events. #177

Fix validateOn events.

Fix validateOn events. #177

Workflow file for this run

name: Library pipeline
on:
workflow_dispatch:
pull_request:
branches:
- '*'
paths:
- packages/lib/**
push:
branches:
- master
paths:
- packages/lib/**
release:
types: [published]
branches:
- master
defaults:
run:
working-directory: packages/lib
jobs:
lib-workflow:
runs-on: ubuntu-latest
name: Lib workflow
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: ./.github/workflows/actions/setup-node
- name: Setup pnpm
uses: ./.github/workflows/actions/setup-pnpm
- name: 'Build and test'
uses: ./.github/workflows/actions/lib-build-and-test
- name: 'Publish to npm'
if: github.event_name == 'release'
uses: ./.github/workflows/actions/lib-publish-to-npm
with:
npm-token: ${{ secrets.NPM_TOKEN }}