[1.0.5] Skip WebAccess
unit tests
#134
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
workflow_call: | |
pull_request: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm install | |
- name: Formatting | |
run: npm run format:check | |
- name: Linting | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Unit tests (IndexedDB) | |
run: npx zenfs-test tests/setup-idb.ts | |
- name: Unit tests (WebStorage) | |
run: npx zenfs-test tests/setup-storage.ts | |
- name: Unit tests (WebAccess) - SKIPPED | |
run: #npx zenfs-test tests/setup-access.ts |