published (#411) #967
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
# Run MRjs testing | |
name: npm run test | |
on: | |
workflow_dispatch: | |
push: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# needs: build # todo | |
steps: | |
- uses: actions/checkout@v4 | |
# todo - run the npm install with a dockerfile setup instead of pure | |
# install but not important to do right now since install isnt too long | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: | | |
npm install | |
# todo - have a way to run off a saved build image or state of the previous action instead of | |
# redoing the build every time since that's not-scalable | |
# | |
# will do after getting testing up and running | |
- name: 👷 Build | |
run: npm run build | |
- name: 👷 Test | |
run: npm run test |