Skip to content

Merge branch 'main' of https://github.com/evoluhq/evolu #1

Merge branch 'main' of https://github.com/evoluhq/evolu

Merge branch 'main' of https://github.com/evoluhq/evolu #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch: # for manual triggering
jobs:
release:
# prevents this action from running on forks
if: github.repository == 'evoluhq/evolu'
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm exec changeset publish
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}