Fix typos in some project details #239
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "npm" | |
- run: npm ci | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v22 | |
with: | |
files: projects | |
- name: Copy solution files into index files | |
run: ./scripts/copy-solutions.sh | |
shell: bash | |
- name: Run test in project directories | |
if: ${{ steps.changed-files.outputs.all_changed_files != '' }} | |
run: npx zx ./scripts/changed-solutions.mjs test ${{ steps.changed-files.outputs.all_changed_files }} | |
shell: bash | |
- name: Run test in all project directories | |
if: ${{ steps.changed-files.outputs.all_changed_files == '' }} | |
run: ./scripts/check-solutions.sh "test" | |
shell: bash |