feat: Client file upload #15
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: Build | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
env: | |
PUBLIC_SITE_URL: 'http://localhost' | |
PUBLIC_SITE_PORT: 4321 | |
PUBLIC_API_URL: 'http://localhost:3000/api/' | |
JWT_PUBLIC_KEY: | | |
-----BEGIN PUBLIC KEY----- | |
MCowBQYDK2VwAyEA/nqSs2DZmox+sRNR9d9XdaO3C2yJABIO5gdJlBcswNI= | |
-----END PUBLIC KEY----- | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node - ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Run Build | |
run: npm run build |