Skip to content

fix formatting

fix formatting #20

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v2
- uses: pnpm/action-setup@v2.2.2
with:
version: 8
- uses: actions/setup-node@v2
with:
cache: 'pnpm'
- run: pnpm install
- run: pnpm nx affected --target=format:check --parallel=3
- run: pnpm nx affected --target=build --parallel=3
- run: pnpm nx affected --target=lint --parallel=3
- run: pnpm nx affected --target=test --parallel=3
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}