diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 42dfa6b7631..5bafddf5d07 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -63,23 +63,23 @@ jobs: # with: # name: test-output # path: ./test-results/* - test-unit: - needs: setup - runs-on: ubuntu-latest - env: - JEST_JUNIT_OUTPUT_NAME: unit-results.xml - steps: - - uses: actions/checkout@v4 - - name: Cache NPM dependencies - uses: actions/cache@v3 - with: - path: - node_modules - src/generated - static/microbit - key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - - name: Run Unit Tests - run: npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2" + # test-unit: + # needs: setup + # runs-on: ubuntu-latest + # env: + # JEST_JUNIT_OUTPUT_NAME: unit-results.xml + # steps: + # - uses: actions/checkout@v4 + # - name: Cache NPM dependencies + # uses: actions/cache@v3 + # with: + # path: + # node_modules + # src/generated + # static/microbit + # key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + # - name: Run Unit Tests + # run: npm run test:unit -- --reporters="default" --reporters="jest-junit" --coverage --coverageReporters=text --coverageReporters=lcov --maxWorkers="2" build: needs: setup env: @@ -94,8 +94,12 @@ jobs: with: path: node_modules + src/generated + static/microbit key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - run: npm list + - run: ls -la src/generated + - run: ls -la static/microbit - run: npm run build # - name: Setup & Test