mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
06d9a373f2
* update deps * Update package.json * update deps and workflows * refactor workflows * always checkout * Update action.yml * Update action.yml * Update action.yml * bump * Update action.yml * Update action.yml * update workflow * fix pnpm issues * upgrade eslint * complete workflows * Update eslint.config.ts * upgrade tailwind * Update .gitignore * upgrade nuxt content separately
43 lines
839 B
YAML
43 lines
839 B
YAML
name: Test & Build
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: ./.github/actions/install
|
|
|
|
- name: Test with Coverage
|
|
run: pnpm run coverage
|
|
|
|
- name: ESLint
|
|
run: pnpm run lint
|
|
|
|
- name: Report Coverage
|
|
uses: coverallsapp/github-action@v2
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: ./.github/actions/install
|
|
|
|
- name: Build Dist
|
|
run: pnpm run build
|
|
|
|
- name: Bundlewatch
|
|
run: npx bundlewatch
|
|
|
|
- name: Build Docs
|
|
run: pnpm run build:docs
|