Skip to content

Merge pull request #15 from owowagency/feat/add-prettier-cli-as-depen… #66

Merge pull request #15 from owowagency/feat/add-prettier-cli-as-depen…

Merge pull request #15 from owowagency/feat/add-prettier-cli-as-depen… #66

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: 🏃 Setup Node NPM
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
registry-url: 'https://registry.npmjs.org'
- name: 📦 Install dependencies
run: yarn install --immutable
- name: ✅ Semantic release NPM
run: yarn workspaces foreach -pt run semantic-release -e semantic-release-monorepo
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
YARN_NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: 🏃 Setup Node Github
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
registry-url: 'https://npm.pkg.github.com'
- name: ✅ Semantic release Github
run: yarn workspaces foreach -pt run semantic-release -e semantic-release-monorepo
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}
NPM_TOKEN: ${{secrets.GH_TOKEN}}
YARN_NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}