chore(deps): bump colorize-node from 0.5.0 to 1.0.0 (#43) #155
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: Generate packages and publish | |
on: | |
workflow_dispatch: | |
inputs: | |
bumpType: | |
description: 'Use a custom bump type' | |
type: choice | |
default: none | |
options: | |
- none | |
- graduate | |
- major | |
- minor | |
- patch | |
push: | |
branches: | |
- main | |
- release/* | |
permissions: | |
contents: write | |
id-token: write | |
env: | |
BUMP_TYPE: ${{ inputs.bumpType != null && inputs.bumpType != 'none' && format('--bump-type {0}', inputs.bumpType) || '' }} | |
jobs: | |
Build-packages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install | |
run: yarn | |
- name: Bump | |
run: yarn gitversion bump $BUMP_TYPE | |
- name: Build 🔧 | |
run: yarn build:all | |
# - name: configure aws credentials | |
# uses: aws-actions/configure-aws-credentials@v4 | |
# with: | |
# role-to-assume: arn:aws:iam::202821071962:role/www-cputils-com-website-gitversionpublishdocsA3C0C6-f9KlnEDH0OdS | |
# role-session-name: upload-docs | |
# aws-region: eu-west-1 | |
- name: Publish | |
run: yarn gitversion publish | |
env: | |
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |