This repository was archived by the owner on Jan 18, 2025. It is now read-only.
chore(deps): update dependency @rollup/plugin-babel to v6.0.4 #2031
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: yarn install | |
- run: yarn lint | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: yarn install | |
- run: yarn build | |
- run: yarn test:cypress | |
- run: yarn test:jest --coverage | |
env: | |
CI: true | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/github-action@v2.1.2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: JS-DevTools/npm-publish@v2 | |
id: publish | |
if: ${{ github.ref == 'refs/heads/main' }} | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: ./package.json | |
tag: latest | |
access: public | |
dry-run: false | |
check-version: true | |
greater-version-only: true | |
- name: Tag | |
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none' | |
uses: anothrNick/github-tag-action@v1 | |
env: | |
CUSTOM_TAG: ${{ steps.publish.outputs.version }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Release | |
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none' | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ steps.publish.outputs.version }} | |
body: | |
'Changelog: https://github.com/iendeavor/vue-next-select/blob/${{ steps.publish.outputs.version | |
}}/CHANGELOG.md' |