Skip to content

fix(publishing): Fixed type definiton file not being generated #179

fix(publishing): Fixed type definiton file not being generated

fix(publishing): Fixed type definiton file not being generated #179

Workflow file for this run

name: CI
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: 'Install Dependencies'
run: yarn
- name: 'Linting'
run: yarn lint
- name: 'Clean workspace'
run: yarn clean
- name: 'Build workspace'
run: yarn build
- name: 'Prepare PackageJSON for publishing'
run: yarn workspace preshape prepare:packageJson
- name: 'Publish package'
run: yarn deploy:lib
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: 'Deploy site'
run: 'yarn deploy:site --token ${{ secrets.FIREBASE_TOKEN }}'