2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-01 05:54:03 +03:00
Files
vue-select/.github/workflows/test.yml
T
2022-07-17 10:54:25 -07:00

50 lines
1.0 KiB
YAML

name: Test & Build
on: [pull_request]
jobs:
test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test with Coverage
run: yarn coverage
- name: ESLint
run: yarn eslint
- name: Report Coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: |
yarn install --frozen-lockfile
cd docs
yarn install --frozen-lockfile
- name: Build Dist
run: yarn build
- name: Bundlewatch
run: npx bundlewatch
- name: Build Docs
run: yarn build:docs