Skip to content

tests

tests #2468

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