feat: migrate from Azure Static Web Apps to Azure Container Apps #28
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: CI Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
lint-and-build-checks: | |
name: Run Lint & Build Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install Azure Functions Core Tools | |
run: npm install -g azure-functions-core-tools@4 --unsafe-perm true | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run Lint | |
run: npm run lint | |
- name: Build Project | |
run: npm run build:all |