Skip to content

chore: add changeset #122

chore: add changeset

chore: add changeset #122

Workflow file for this run

name: Continuos Integration
on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
environment: Publishing
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install binaries
run: sudo apt install jq
- name: Install dependencies
run: pnpm install
- name: Build packages
run: |
pnpm --filter=./packages/tree-sitter-aeria ci:build
pnpm --filter=./packages/language-server build
pnpm --filter=./packages/vscode build
- name: Run tests
run: pnpm -r test
- name: Create release PR
uses: changesets/action@v1
with:
publish: ./.github/scripts/publish.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
OVSX_PAT: ${{ secrets.OVSX_PAT }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}