chore(deps): update dependency eslint-config-xo to v0.46.0 #559
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
- uses: psf/black@3702ba224ecffbcec30af640c149f231d90aebdb # 24.4.2 | |
tests: | |
name: "Node CI" | |
runs-on: ubuntu-latest | |
needs: lint | |
steps: | |
# Checkout the Repo | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
# Install Node 18 | |
- name: Setup Node | |
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint Files | |
run: npm run lint | |
- name: Verify Build | |
run: npm run build | |
- name: Run Tests | |
run: npm test | |
python-tests: | |
name: "Python CI" | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the Repo | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 | |
# Install Python | |
- name: Setup Python | |
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 | |
with: | |
python-version: 3.x | |
- name: Run Tests | |
run: python ./python/py_helpers.test.py |