Rebuild for speed and simplicity #757
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: Compile source code | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3.5.1 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
cache-dependency-path: package-lock.json | |
- name: Compile source code | |
run: | | |
npm ci | |
npm run compile |