Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/native. An initiative which aims to make it easy to create complex, light-weight, and perfor okikio.github.io/native
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536name: Changelog
on: push: branches: - master
jobs: release: name: Changelog runs-on: ubuntu-latest steps: - name: Check out branch uses: actions/checkout@v2 with: fetch-depth: 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
- name: Set up Node.js 22.x uses: actions/setup-node@v2 with: node-version: 22.x - name: Install dependencies run: pnpm install
- name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@master with: # this expects you to have a npm script called version that runs some logic and then calls `changeset version`. version: pnpm pre-release && pnpm changelog # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}