tests #2468
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 macro and script tests | |
on: [push] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
RUNNING_IN_CI: true | |
jobs: | |
run-macro-and-script-tests: | |
runs-on: ubuntu-latest | |
env: | |
RUNNING_IN_CI: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn install | |
- name: create env file | |
run: | | |
pwd | |
ls | |
touch ./.env | |
echo RUNNING_IN_CI="$RUNNING_IN_CI" >> .env | |
- name: Clear jest cache | |
run: yarn test:clear-cache | |
- name: Run macro and script tests | |
run: | | |
pwd | |
ls | |
yarn test |