Skip to content

build(deps-dev): bump tsd from 0.28.1 to 0.31.0 (#234) #53

build(deps-dev): bump tsd from 0.28.1 to 0.31.0 (#234)

build(deps-dev): bump tsd from 0.28.1 to 0.31.0 (#234) #53

Workflow file for this run

name: Deploy
on:
push:
branches:
- default
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Install
run: npm install
- name: Run tests
run: npm test
- name: Build example
run: |
npm run --prefix example build
mkdir _deploy
cp example/bundle.js example/index.html _deploy
- name: Publish site
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: _deploy
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}