Bump datatables.net from 1.12.1 to 1.13.10 (#139) #165
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: npm-staticfiles updater | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
jobs: | |
update_npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
cache-dependency-path: 'requirements_dev.txt' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit | |
sudo apt-get update | |
sudo apt-get -qq install -y npm | |
- name: Install npm packages | |
continue-on-error: true | |
run: | | |
npm install | |
pre-commit run -a --config .pre-commit-only-line-endings-config.yaml | |
- name: Commit npm packages | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'Automated Change: updated npm requirements' |