Skip to content

Merge pull request #454 from uidu-org/changeset-release/main #924

Merge pull request #454 from uidu-org/changeset-release/main

Merge pull request #454 from uidu-org/changeset-release/main #924

Workflow file for this run

name: Deploy Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check-out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
- name: Install dependencies
run: yarn install --no-immutable
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
- name: Create Release Pull Request
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Build Content
# run: bash ./build-setup.sh
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Release Content
# run: bash ./release-setup.sh
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}