Skip to content

Merge branch 'main' of github.com:drewdecarme/flare-city into main #59

Merge branch 'main' of github.com:drewdecarme/flare-city into main

Merge branch 'main' of github.com:drewdecarme/flare-city into main #59

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
env:
TURBO_TOKEN: ${{ secrets.FLARE_CITY_TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.FLARE_CITY_TURBO_TEAM }}
NPM_TOKEN: ${{ secrets.FLARE_CITY_NPM }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js LTS
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Setup Yarn v4
run: |
yarn config set npmScopes.flare-city.npmAuthToken "\${NPM_TOKEN}"
- name: Install dependencies
run: yarn --immutable
- name: Packages - build & version
id: changesets
uses: changesets/action@v1
with:
title: "chore: Version packages"
commit: "chore: Version packages"
version: yarn packages:version # version so pnp can reconcile packages
publish: yarn packages:publish # build and custom publish to npm using `yarn npm publish`
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Packages - tag
# if: steps.changesets.outputs.hasChangesets == 'false'
# You can do something when a publish should happen.
run: yarn packages:tag