Skip to content

chore(deps): update pnpm to v9.9.0 (#64) #184

chore(deps): update pnpm to v9.9.0 (#64)

chore(deps): update pnpm to v9.9.0 (#64) #184

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build:
name: Building
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [20]
architecture: [x64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Setup Node environment
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
architecture: ${{ matrix.architecture }}
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install
- name: Build package
run: |
pnpm build
publish:
name: Publishment
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Node environment
uses: actions/setup-node@v4
with:
node-version: 20
architecture: x64
registry-url: https://registry.npmjs.org/
- name: Release to GitHub
run: |
npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}