Update the silly browserslist which we apparantly need #4
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 build | |
on: | |
push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
run: npm install | |
- name: Compile project | |
run: npm run build | |
env: | |
PUBLIC_URL: '/api/docs/dashboard' | |
- name: Upload compiled build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build | |
path: build |