This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
build(deps-dev): bump vite from 4.0.4 to 4.4.2 #223
Workflow file for this run
This file contains 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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Semantic Release | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: '*' | |
jobs: | |
quality: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn build | |
- run: yarn lint | |
- run: yarn test | |
publish: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
if: ${{ github.ref == 'refs/heads/master' }} | |
needs: [quality] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Yarn | |
run: yarn install | |
- name: Build Project | |
run: yarn build | |
- name: Semantic release | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} | |
GIT_AUTHOR_NAME: ${{ secrets. GIT_NAME }} | |
GIT_AUTHOR_EMAIL: ${{ secrets. GIT_EMAIL }} | |
GIT_COMMITTER_NAME: ${{ secrets. GIT_NAME }} | |
GIT_COMMITTER_EMAIL: ${{ secrets. GIT_EMAIL }} | |
run: yarn semantic-release |