diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 94dd28f..429fe33 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,27 @@ on: jobs: ci: name: CI - uses: zen-fs/core/.github/workflows/ci.yaml@main - permissions: - contents: read - id-token: write + 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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad8ef01..ed454a7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,11 +1,17 @@ name: Release - on: release: types: [created] - jobs: + ci: + name: CI + uses: ./.github/workflows/ci.yaml + docs: + name: Docs + uses: zen-fs/core/.github/workflows/deploy-docs.yaml@main + needs: ci release: name: Release - uses: zen-fs/core/.github/workflows/release.yaml@main + uses: zen-fs/core/.github/workflows/release-common.yaml@main + needs: ci secrets: inherit diff --git a/src/ZipFS.ts b/src/ZipFS.ts index 8b7c118..abedd3c 100644 --- a/src/ZipFS.ts +++ b/src/ZipFS.ts @@ -1,7 +1,7 @@ import { NoSyncFile, Stats, isWriteable } from '@zenfs/core'; import { type Backend } from '@zenfs/core/backends/backend.js'; import { S_IFDIR } from '@zenfs/core/emulation/constants.js'; -import { parse } from '@zenfs/core/emulation/path.js'; +import { parse } from '@zenfs/core/path'; import { Errno, ErrnoError } from '@zenfs/core/error.js'; import { FileSystem, type FileSystemMetadata } from '@zenfs/core/filesystem.js'; import { FileEntry, Header } from './zip.js';