fix: remove defaultprops (#137) #16
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
name: Production workflow | |
on: | |
push: | |
branches: | |
- master | |
- next | |
- beta | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Detect Node version | |
run: echo "version=$(cat .nvmrc)" >> $GITHUB_OUTPUT | |
id: nvmrc | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ steps.nvmrc.outputs.version }}' | |
- name: Install npm packages | |
run: yarn --frozen-lockfile | |
- name: Build project | |
run: yarn build | |
- name: NPM Release | |
env: | |
HUSKY: 0 | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
npx [email protected] |