This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
build(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /game_front… #122
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: Publish Python Package | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "CHANGELOG.md" | |
- "aimmo/__init__.py" | |
jobs: | |
publish-pypi-package: | |
name: Publish PyPi Package | |
runs-on: ubuntu-20.04 | |
env: | |
NODE_ENV: production | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
architecture: "x64" | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install frontend dependencies | |
run: | | |
cd game_frontend | |
yarn --frozen-lockfile | |
- name: Install wheel | |
run: pip install wheel | |
- name: Build worker wheel | |
run: ./aimmo_runner/build_worker_wheel.sh | |
- name: Bundle Frontend | |
run: | | |
cd game_frontend | |
node djangoBundler.js | |
- name: Release aimmo | |
uses: relekang/[email protected] | |
with: | |
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | |
pypi_token: ${{ secrets.PYPI_TOKEN }} |