ci(circle): add make to image #1087
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: Build cypress-slack-reporter-old | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
ENV_SUT: ${{ secrets.ENV_SUT }} | |
CI_PROVIDER_TO_TEST: 'github' | |
defaults: | |
run: | |
working-directory: cypress-slack-reporter-old | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18.x, 20.x, 22.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
cache-dependency-path: cypress-slack-reporter-old/yarn.lock | |
- run: yarn install | |
- run: npm run lint | |
- run: npm run compile | |
- run: npm run test | |
- run: npm test | |
- run: make test | |
- run: make combine-reports && make generate-report | |
- name: get artifacts 1 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-output-1-${{matrix.node-version}} | |
path: | | |
cypress-slack-reporter-old/cypress/reports | |
cypress-slack-reporter-old/cypress/videos | |
cypress-slack-reporter-old/cypress/screenshots | |
cypress-slack-reporter-old/mochareports | |
- run: npm run slack-ts | |
- run: npm run slack-js | |
- run: npm run slack-ts-opts | |
- run: npm run slack-js-opts | |
- run: npm run slack-js-opts-test-passed | |
- run: npm run slack-js-opts-test-failed | |
- run: npm run slack-js-opts-build-failed | |
- run: npm run cli | |
- name: get artifacts 2 | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-output-2-${{matrix.node-version}} | |
path: | | |
cypress-slack-reporter-old/src/slack/test | |
cypress-slack-reporter-old/cypress/reports/mocha |