remove vercel.json #14
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
PYTHON_VERSION: 3.12 | |
NODE_VERSION: 18 | |
NODE_ENV: ci | |
CI: true | |
jobs: | |
cancel-previous-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
libx-py: | |
runs-on: ubuntu-22.04 | |
needs: cancel-previous-runs | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Setup Python | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv install --deploy --dev | |
- name: Linter | |
run: | | |
python -m black libx/*.py -l 80 --check | |
libx-js: | |
runs-on: ubuntu-22.04 | |
needs: cancel-previous-runs | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install and Build | |
run: | | |
cd www/libx && \ | |
yarn install --frozen-lockfile && \ | |
yarn lint && \ | |
yarn pretty && \ | |
yarn build |