fix: don't treat file paths with 7z extension as directories #134
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
types: | |
- opened | |
- ready_for_review | |
- synchronize | |
- labeled | |
branches: | |
- main | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action == 'opened' || github.event.action == 'ready_for_review' || github.event.action == 'synchronize' || (github.event.action == 'labeled' && github.event.label.name == 'force ci') }} | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- name: Cache Dependencies | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 | |
with: | |
path: | | |
~/.npm | |
node_modules/.cache | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/format.yml') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm install | |
- name: Run Tests | |
run: npm run test:unit | |
e2e-test: | |
name: E2E Tests | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action == 'opened' || github.event.action == 'ready_for_review' || github.event.action == 'synchronize' || (github.event.action == 'labeled' && github.event.label.name == 'force ci') }} | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | |
- name: Cache Dependencies | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 | |
with: | |
path: | | |
~/.npm | |
node_modules/.cache | |
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/format.yml') }} | |
restore-keys: ${{ runner.os }}-npm- | |
- name: Install dependencies | |
run: npm install | |
- name: Run Tests | |
run: npm run test:e2e |