Skip to content

chore(deps): update pnpm to v9.15.0 (#125) #299

chore(deps): update pnpm to v9.15.0 (#125)

chore(deps): update pnpm to v9.15.0 (#125) #299

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build:
name: Building
runs-on: ubuntu-latest
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: 20
architecture: x64
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install
- name: Publish to VSCode marketplace
if: startsWith(github.ref, 'refs/tags/v')
run: |
npx vsce package
npx vsce publish -p ${{ secrets.VSCE_PAT }}
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
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}}