Skip to content

Commit

Permalink
Updated core and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 3, 2024
1 parent d88eea3 commit b7809bb
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 25 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
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Release

on:
release:
types: [created]

jobs:
ci:
name: CI
uses: zen-fs/core/.github/workflows/ci.yaml@main
permissions:
contents: read
id-token: write
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
38 changes: 28 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"lint": "eslint src",
"build": "tsc -p tsconfig.json",
"build:docs": "typedoc --out docs --name 'ZenFS Emscripten' src/index.ts",
"prepublishOnly": "npm run build",
"test": "echo No tests yet"
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@eslint/js": "^9.12.0",
Expand All @@ -57,7 +56,7 @@
"typescript-eslint": "^8.8.1"
},
"peerDependencies": {
"@zenfs/core": "^1.0.4"
"@zenfs/core": "^1.1.0"
},
"dependencies": {
"utilium": ">=0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion src/backend.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Sync, type Backend } from '@zenfs/core';
import { basename, dirname } from '@zenfs/core/emulation/path.js';
import { basename, dirname } from '@zenfs/core/path';
import { Errno, ErrnoError, errorMessages } from '@zenfs/core/error.js';
import { File } from '@zenfs/core/file.js';
import type { FileSystemMetadata } from '@zenfs/core/filesystem.js';
Expand Down

0 comments on commit b7809bb

Please sign in to comment.