deps(dev): update dependency @types/lodash to v4.17.6 #496
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: Release | |
# Events that trigger this workflow | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
# Defines which tool versions should be used in all workflow jobs | |
env: | |
node: '18' | |
pnpm: '7' | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 📥 | |
uses: actions/[email protected] | |
- name: Setup PNPM 💿 | |
uses: pnpm/[email protected] | |
with: | |
version: ${{ env.pnpm }} | |
- name: Setup Node 💿 | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ env.node }} | |
cache: 'pnpm' | |
- name: Install dependencies 📚 | |
run: pnpm install | |
# Build a .npmrc configuration file that will be used by pnpm | |
# to publish to the npm registry with the given token. | |
- name: Setup npm 📀 | |
run: | | |
touch "${GITHUB_WORKSPACE}/.npmrc" | |
echo "//registry.npmjs.org/:_authToken=NPM_TOKEN" > "${GITHUB_WORKSPACE}/.npmrc" | |
cat "${GITHUB_WORKSPACE}/.npmrc" | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Create and publish versions 🗜 | |
uses: changesets/action@v1 | |
with: | |
version: pnpm ci:version | |
commit: 'chore: Update versions' | |
title: 'chore: Update versions' | |
publish: pnpm ci:publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} |