Workflow file for this run
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: 'update jquery' | |
on: | |
push: | |
paths: | |
- 'package-lock.json' | |
pull_request: | |
paths: | |
- 'package-lock.json' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Copy jQuery from node_module | |
run: | | |
npm ci | |
cp ./node_modules/jquery/dist/jquery.min.js ./bin/jquery.js | |
- name: Commit compiled files | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Compile Assets |