Setup target dir for test gh action #6
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: Run tests | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
name: Tests | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: ghcr.io/day8/chrome-latest:5.1.0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: npm install | ||
run: 'npm install' | ||
- name: setup dirs | ||
run 'mkdir -p resources/public/js/compiled' | ||
- name: run tests | ||
run: | | ||
nohup npm run watch & | ||
sleep 180 | ||
karma start --single-run |