Skip to content

Fix(prettier-config): Add missing entrypoint for CommonJS #1364

Fix(prettier-config): Add missing entrypoint for CommonJS

Fix(prettier-config): Add missing entrypoint for CommonJS #1364

Workflow file for this run

name: Publish
on:
push:
branches:
- main
tags:
- '**'
jobs:
publish:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: Publish package
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
uses: bahmutov/[email protected]
with:
useRollingCache: true
install-command: yarn --immutable
- name: Build
run: yarn build
- name: Authenticate npm
run: ./bin/ci/npm-auth.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: make publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}