Team page #267
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Continuous Integration | |
on: [pull_request, push] | |
jobs: | |
buildAndTest: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
env: | |
SASS_PATH: ./node_modules | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 12.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: package.json | |
- name: Clean install dependencies | |
run: npm ci | |
- name: Build Application | |
run: npm run build --if-present | |
- name: Test Application | |
run: npm test |