Skip to content

v0.3.1-typescript

v0.3.1-typescript #32

name: v0.3.1-typescript
on:
schedule:
- cron: '0 0 * * 0' # every Sunday at midnight UTC
push:
branches:
- 'v0.3.1'
workflow_dispatch:
jobs:
test-and-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
ref: 'v0.3.1'
- name: test
run: |
sudo npm install karma -g
cd old
yarn install
yarn run test
- name: bundle
run: |
cd old
yarn install
yarn run bundle
- name: gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: old/dist/
destination_dir: 0.3.1/