Skip to content

try 5

try 5 #7

Workflow file for this run

name: tests
on:
push:
branches:
- main
- dev
jobs:
tests:
runs-on: ubuntu-latest
name: tests
steps:
- uses: actions/checkout@v4
env:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_DB: ${{secrets.XATA_DB}}
SUDO_SECRET: ${{ secrets.SUDO_SECRET }}
- run: |
touch .dev.vars
echo SUDO_SECRET="$SUDO_SECRET" >> .dev.vars
echo XATA_API_KEY="$XATA_API_KEY" >> .dev.vars
echo XATA_DB="$XATA_DB" >> .dev.vars
echo "cat .dev.vars"
cat .dev.vars
echo "ls -a ."
ls -a .
echo "ls -a ${{ github.workspace }}"
ls -a ${{ github.workspace }}
- run: npm install
- run: npm run test