2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

update workflows

This commit is contained in:
Jeff Sagal
2021-10-17 10:42:23 -07:00
parent 14ea58b9e5
commit 2adbf03882
2 changed files with 23 additions and 31 deletions
+14 -15
View File
@@ -1,19 +1,18 @@
name: Release name: Release
on: #on:
push: # push:
branches: # branches:
- master # - master
on: [pull_request]
jobs: jobs:
release: release:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile uses: bahmutov/npm-install@v1
- name: Test with Coverage - name: Test with Coverage
run: yarn test run: yarn test
@@ -21,8 +20,8 @@ jobs:
- name: Build - name: Build
run: yarn build run: yarn build
- name: Release # - name: Release
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release # run: npx semantic-release
+9 -16
View File
@@ -4,13 +4,9 @@ jobs:
test: test:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile uses: bahmutov/npm-install@v1
- name: Test with Coverage - name: Test with Coverage
run: yarn test --coverage --coverageReporters=lcov run: yarn test --coverage --coverageReporters=lcov
@@ -24,18 +20,15 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Install dependencies - name: Install dependencies
run: | uses: bahmutov/npm-install@v1
yarn install --frozen-lockfile with:
cd docs working-directory: |
yarn install --frozen-lockfile .
docs
- name: Build Dist - name: Build Dist
run: yarn build run: yarn build