feat: apply middleware to routes with new authorize middleware #16
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: Compile Assets | |
on: | |
push: | |
paths: ['resources/**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Compile assets | |
run: npm run build | |
- name: Commit compiled files | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: build" | |
file_pattern: public/ |