Skip to content

Bump @types/node from 20.4.4 to 20.4.5 (#1725) #1518

Bump @types/node from 20.4.4 to 20.4.5 (#1725)

Bump @types/node from 20.4.4 to 20.4.5 (#1725) #1518

Workflow file for this run

name: Release
on:
push:
branches: ['master']
jobs:
release:
name: Trigger release
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- name: Prepare repository
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
git fetch --prune --unshallow
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Bootstrap
run: yarn bootstrap
- name: Build
run: yarn build
- name: Bundle
run: yarn bundle
- name: Lint
run: yarn lint
- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
yarn release