Create Dev Release #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Action to publish packages under the `next` tag for testing | |
# Packages are versioned as `0.0.0-{tag}-DATETIMESTAMP` | |
name: Packages Deploy | |
on: workflow_dispatch | |
jobs: | |
publish: | |
name: Publish Dev Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Setup Yarn | |
run: | | |
npm install -g yarn | |
echo "Yarn version: $(yarn -v)" | |
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build:packages | |
- name: Publish | |
run: | | |
yarn changeset version --no-git-tag --snapshot dev | |
yarn changeset publish --tag dev |