build(deps-dev): bump @types/node from 16.11.12 to 16.18.46 #74
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: 'ci' | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 6.15.1 | |
- name: Set node version to 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Run unit tests | |
run: pnpm run test | |
test-dts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 6.15.1 | |
- name: Set node version to 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- run: pnpm install | |
- name: Run type declaration tests | |
run: pnpm run test-dts | |
size: | |
runs-on: ubuntu-latest | |
env: | |
CI_JOB_NUMBER: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2.0.1 | |
with: | |
version: 6.15.1 | |
- name: Set node version to 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run size | |
# - name: Check build size | |
# uses: posva/size-check-action@v1.1.2 | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# build_script: size | |
# files: packages/vue/dist/vue.global.prod.js packages/runtime-dom/dist/runtime-dom.global.prod.js packages/size-check/dist/index.js |