Skip to content

Merge pull request #6 from aeria-org/changeset-release/master #103

Merge pull request #6 from aeria-org/changeset-release/master

Merge pull request #6 from aeria-org/changeset-release/master #103

Workflow file for this run

name: Test
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
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 dependencies
run: pnpm install
- name: Build packages
run: |
pnpm --filter='./aeria-compiler' build
pnpm --filter='./aeria-compiler' bundle
pnpm --filter='./aeria-build' build
pnpm --filter='./aeria-lang' build
# pnpm --filter=playground build
- name: Test packages
run: pnpm -r test
- name: Create release PR
uses: changesets/action@v1
with:
publish: ./.github/scripts/publish.sh
env:
BRANCH_NAME: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}