diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 583766fb..e9639228 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 with: - version: 8 - - uses: actions/setup-node@v3 - with: - node-version: 20 cache: "pnpm" - run: pnpm install - run: pnpm build @@ -20,13 +17,10 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 with: - node-version: 20 cache: "pnpm" - run: pnpm install - run: pnpm test:unit @@ -34,13 +28,10 @@ jobs: check-format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 with: - node-version: 20 cache: "pnpm" - run: pnpm install - run: pnpm format:check @@ -48,13 +39,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 with: - version: 8 - - uses: actions/setup-node@v3 - with: - node-version: 20 cache: "pnpm" - run: pnpm install - run: pnpm lint @@ -62,13 +50,10 @@ jobs: tsc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v3 + - uses: actions/setup-node@v4 with: - node-version: 20 cache: "pnpm" - run: pnpm install - run: pnpm tsc diff --git a/package.json b/package.json index 72101592..d3a84115 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "types": "build/index.d.ts", "type": "module", "packageManager": "pnpm@8.15.4", + "engines": { + "node": ">=18.0.0" + }, "files": [ "build/", "core.css",