build(deps): bump axios from 0.27.2 to 1.6.8 #162
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: | |
workflow_dispatch: | |
env: | |
TZ: Asia/Shanghai | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
fetch-depth: 0 | |
- name: Install pnpm π | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 7 | |
run_install: true | |
- name: Setup Node.js π | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: pnpm | |
- name: Install Deps π | |
run: pnpm install --frozen-lockfile | |
- name: Build project π | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: pnpm run build | |
- name: copy README.md | |
run: cp README.md dist | |
needs: clear | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code coverage | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
needs: ci | |
clear: | |
name: clear | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
repository: 'Apocalypsor/Workflows-Cleaner' | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install pipenv | |
run: python -m pip install --upgrade pipenv wheel | |
- name: Install dependencies | |
run: | | |
pipenv requirements > requirements.txt | |
pip install -r requirements.txt | |
- name: Clean | |
env: | |
GITHUB_REPO: ${{ github.repository }} | |
GITHUB_TOKEN: ${{ secrets.ACTION_SECRET }} | |
EXPIRE_TIME: '12h' | |
run: python run.py |