Skip to content

Test with TypeScript 5.9 (#189) #52

Test with TypeScript 5.9 (#189)

Test with TypeScript 5.9 (#189) #52

name: build-and-deploy
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: git submodule update --init --recommend-shallow
- run: npm ci
- run: npm test
- run: npm run build-docs
- run: npm run generate
- name: Check generated file is up-to-date with gpuweb submodule (`npm run generate` to fix this)
run: git update-index --really-refresh && git diff-index --quiet HEAD
- name: Deploy 📦
if: ${{ success() && github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: tsdoc-src/out