Skip to content

fix(deps): update dependency @intlify/utils to v0.13.0 #47

fix(deps): update dependency @intlify/utils to v0.13.0

fix(deps): update dependency @intlify/utils to v0.13.0 #47

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Lint
run: pnpm lint
build:
name: Build
strategy:
matrix:
os: [ubuntu-latest]
node: [18, 20]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest]
node: [18, 20]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Test
run: pnpm test
edge-release:
name: Edge Release
needs:
- lint
- test
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
- name: Release Edge
if: |
github.event_name == 'push' &&
!startsWith(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'chore') &&
!startsWith(github.event.head_commit.message, 'release') &&
!startsWith(github.event.head_commit.message, 'docs')
run: ./scripts/release.sh
env:
NPM_TOKEN: ${{secrets.NPM_ORG_TOKEN}}
EDGE_RELEASE: 'true'