diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 6589ed1..f39103e 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,4 +1,4 @@ { - "node": "16", + "node": "18", "sandboxes": [] } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9423d53..9c1d9f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,15 +17,13 @@ jobs: - ubuntu-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: pnpm diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d879363..17a1049 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,12 +1,14 @@ -name: "CodeQL" +name: CodeQL on: push: - branches: [ "master" ] + branches: + - master pull_request: - branches: [ "master" ] + branches: + - master schedule: - - cron: "16 11 * * 2" + - cron: '16 11 * * 2' jobs: analyze: @@ -20,11 +22,12 @@ jobs: strategy: fail-fast: false matrix: - language: [ javascript ] + language: + - javascript steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -38,4 +41,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: - category: "/language:${{ matrix.language }}" + category: '/language:${{ matrix.language }}' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bea5bd5..0097d0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,27 +11,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - - name: Setup Node.js 16 - uses: actions/setup-node@v3 + - name: Setup Node.js LTS + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: lts/* cache: pnpm - name: Install Dependencies run: pnpm i - name: Build - run: yarn build + run: pnpm build - name: Create Release Pull Request or Publish to npm id: changesets diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 5d69b3f..02464e0 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -13,15 +13,13 @@ jobs: size-limit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v2 - with: - version: latest - name: Setup Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* cache: pnpm diff --git a/.nvmrc b/.nvmrc index b6a7d89..3c03207 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +18