diff --git a/.changeset/sharp-balloons-double.md b/.changeset/sharp-balloons-double.md new file mode 100644 index 0000000..ba1c827 --- /dev/null +++ b/.changeset/sharp-balloons-double.md @@ -0,0 +1,5 @@ +--- +'oas3-chow-chow': major +--- + +Remove support for Node 16 and add support for 20 and 22. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 191edf7..57b0351 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: yarn install --frozen-lockfile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e76bf5c..82b086e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,16 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - with: - # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits - fetch-depth: 0 - + uses: actions/checkout@v3 - - name: Setup Node.js 16.x - uses: actions/setup-node@v2 + - name: Setup Node.js 20.x + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x - name: Install Dependencies run: yarn install --frozen-lockfile