Skip to content

chore: update versions (#849) #229

chore: update versions (#849)

chore: update versions (#849) #229

Workflow file for this run

name: publish
on:
push:
branches: [main]
defaults:
run:
shell: bash
jobs:
update-gh-pages:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup repo
uses: ./.github/actions/setup
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dev/arktype.io/dist
create-release-pr:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup repo
uses: ./.github/actions/setup
- name: Create and publish versions
uses: changesets/action@v1
with:
commit: "chore: update versions"
title: "chore: update versions"
cwd: "./dev/configs"
version: pnpm ci:version
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}