Skip to content

Bump @types/node from 22.8.2 to 22.8.6 (#2202) #1831

Bump @types/node from 22.8.2 to 22.8.6 (#2202)

Bump @types/node from 22.8.2 to 22.8.6 (#2202) #1831

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@v4
- 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@v4
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