build(deps-dev): bump @vue/eslint-config-typescript from 13.0.0 to 14.1.3 #3778
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
name: Node CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node-version: ['20.x', '22.x'] | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Yarn Install | |
run: corepack enable && corepack prepare yarn@stable --activate && yarn install --immutable | |
- name: Build | |
run: yarn build | |
- uses: actions/upload-artifact@v4 | |
if: ${{ github.event_name == 'push' && matrix.node-version == '20.x' }} | |
with: | |
name: deployment | |
path: dist/* | |
test: | |
runs-on: ubuntu-24.04 | |
if: ${{ github.event_name == 'pull_request' }} | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Yarn Install | |
run: corepack enable && corepack prepare yarn@stable --activate && yarn install --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Unit Test | |
run: yarn test:unit --ci --maxWorkers=2 | |
- name: E2E Test | |
run: yarn test:e2e --headless | |
- uses: actions/upload-artifact@v4 | |
if: ${{ matrix.node-version == '20.x' }} | |
with: | |
name: test-videos | |
path: test/e2e/videos/* | |
- uses: codecov/codecov-action@v4 | |
if: ${{ matrix.node-version == '20.x' }} | |
publish: | |
runs-on: ubuntu-24.04 | |
needs: build | |
if: ${{ github.event_name == 'push' }} | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
name: deployment | |
path: ./dist | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
force_orphan: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |