Skip to content

fix: permissions

fix: permissions #17

Workflow file for this run

name: Run Tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Set execute permissions for test script
run: chmod -R +x ./tests
- name: Run file tests
run: ./tests/_run_all.sh
- name: Run unit tests
run: npm run test