Skip to content

Commit

Permalink
Updated core path import and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 3, 2024
1 parent 1d54933 commit 08f82bb
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/ZipFS.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 08f82bb

Please sign in to comment.