Skip to content

Release

Release #100

Workflow file for this run

name: Release
permissions: {}
on:
push:
branches:
- release-pr
workflow_dispatch:
inputs:
version:
required: false
type: string
issue-number:
required: false
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: oxc-project/oxc
ref: main
path: oxc
persist-credentials: false
- name: Install Tools
uses: taiki-e/install-action@a27ef18d36cfa66b0af3a360104621793b41c036 # v2.54.3
with:
tool: just
- run: cd oxc && just website ..
- run: rm -rf oxc
- uses: oxc-project/setup-node@f42e3bda950c7454575e78ee4eaac880a077700c # v1.0.0
- run: pnpm run fmt "./src/docs/guide/usage/linter/**"
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.OXC_BOT_PAT }}
commit-message: Release ${{ inputs.version }}
branch: release
branch-suffix: timestamp
title: Release ${{ inputs.version }}
body: From https://github.com/oxc-project/oxc/pull/${{ inputs.issue-number }}
assignees: camc314
base: main