Skip to content

Release

Release #114

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: oxc-project/oxc
ref: main
path: oxc
persist-credentials: false
- name: Install Tools
uses: taiki-e/install-action@f63c33fd96cc1e69a29bafd06541cf28588b43a4 # v2.58.21
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