vue-search-input
Version:
A Vue.js 3 search input component, inspired by the global search input of Storybook and GitHub.
55 lines (41 loc) โข 1.18 kB
YAML
name: release-main
on:
push:
branches: [main]
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout ๐
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node env ๐
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
check-latest: true
- name: Setup pnpm ๐ฆ
uses: pnpm/action-setup@v4
with:
package_json_file: package.json
- name: Install dependencies ๐ฆ
run: pnpm install
- name: Install semantic-release extra plugins ๐ฆ
run: pnpm install --save-dev @semantic-release/changelog @semantic-release/git
- name: Run linter ๐
run: pnpm run lint-fix
- name: Typecheck ๐
run: pnpm run typecheck
- name: Run tests ๐งช
run: pnpm run test:unit-coverage --if-present
- name: Build
run: pnpm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release