Merge pull request #763 from parallaxinc/dependabot/npm_and_yarn/word… #159
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: Solo-Test | |
on: | |
push: | |
branches: [ develop, main ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
test: | |
name: Run Solo Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run npm install | |
run: npm ci | |
- name: Build SCSS | |
run: npx sass src/scss/main.scss dist/main.css | |
- name: Run build process | |
run: npm run build --if-present | |
- name: Run embedded tests | |
run: npm test |