diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml new file mode 100644 index 0000000..bc107e7 --- /dev/null +++ b/.github/workflows/ci-tests.yml @@ -0,0 +1,24 @@ +name: yarrrml-parser tests +run-name: ${{ github.actor }} is running yarrrml tests 🚀 +on: [push, pull_request] +jobs: + Base-Tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ~/.npm + key: npm-${{ hashFiles('package-lock.json') }} + restore-keys: npm- + + - name: Install dependencies + run: npm ci + + - name: Running tests + run: npm test \ No newline at end of file