Skip to content

build(deps-dev): bump eslint from 8.20.0 to 8.49.0 #119

build(deps-dev): bump eslint from 8.20.0 to 8.49.0

build(deps-dev): bump eslint from 8.20.0 to 8.49.0 #119

Workflow file for this run

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