Bump axios from 1.13.6 to 1.16.1 #167
This file contains hidden or 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: Build | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Build and commit updated assets | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| with: | |
| # Custom token to allow commits trigger other workflows. | |
| token: ${{ secrets.REPO_TOKEN }} | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| cache-dependency-path: 'package-lock.json' | |
| - name: Install Node.js dependencies | |
| run: npm ci | |
| - name: Run build command | |
| run: | | |
| npm run build:legacy | |
| npm run build | |
| - name: Commit updated assets files | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "[auto] Update assets" | |
| add: "js" |