Skip to content

build(deps-dev): bump @vercel/ncc from 0.38.1 to 0.38.2 #1064

build(deps-dev): bump @vercel/ncc from 0.38.1 to 0.38.2

build(deps-dev): bump @vercel/ncc from 0.38.1 to 0.38.2 #1064

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format-check
- name: Build
run: npm run build --if-present
- name: Package artifacts
run: npm run package
- name: Run Tests
run: npm run test-verbose
env:
CI: true
- name: Prepare post-merge steps
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged
run: git checkout ${{ github.event.pull_request.base.ref }}
- name: Publish artifacts
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged
uses: EndBug/add-and-commit@v9
with:
commit: --signoff
default_author: user_info
fetch: false
message: 'dist: build new artifacts'
push: true
- name: Create and move next-preview tag
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged && (
github.event.pull_request.base.ref == 'main' ||
startsWith(github.event.pull_request.base.ref, 'release')
)
run: |
git tag v3.next-preview --force
git push origin v3.next-preview --force