Skip to content

fix(deps): update dependency @commitlint/cli to v17.7.2 #735

fix(deps): update dependency @commitlint/cli to v17.7.2

fix(deps): update dependency @commitlint/cli to v17.7.2 #735

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: GitHub context
run: echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Checkout
if: github.ref == 'refs/heads/main'
uses: actions/checkout@v3
with:
ref: main
fetch-depth: 50
- name: Fetch all tags (for releases)
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Install pnpm
uses: pnpm/action-setup@v2.4.0
with:
run_install: false
- name: Setup Node (uses version in .nvmrc)
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: pnpm
- name: Install dependencies
run: |
echo "pnpm version"
pnpm version
pnpm install
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
email=nerd@tdeekens.name
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Verify NPM user
run: pnpm auth
- name: Building packages
run: pnpm build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1.4.5
with:
title: 'ci(changesets): version packages'
commit: 'ci(changesets): version packages'
publish: pnpm changeset publish
version: pnpm changeset:version-and-format
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}