Fixed admin table filter (gets name not html) #37
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: Automated Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.17' | |
- run: sqlite3 --version | |
- run: npm ci --include=dev | |
- name: Create SA key | |
run: echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}' > gcloud.json | |
- name: Run tests | |
run: npm test | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
GOOGLE_APPLICATION_CREDENTIALS: "gcloud.json" | |
MERCHANTID: ${{ secrets.MERCHANTID }} | |
MERCHANTPUBLIC: ${{ secrets.MERCHANTPUBLIC }} | |
MERCHANTPRIVATE: ${{ secrets.MERCHANTPRIVATE }} |