diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6fa3d0..809859d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' diff --git a/.github/workflows/docusaurus.yml b/.github/workflows/docusaurus.yml index f7a4f69..a666e43 100644 --- a/.github/workflows/docusaurus.yml +++ b/.github/workflows/docusaurus.yml @@ -16,9 +16,10 @@ concurrency: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: - contents: read - pages: write - id-token: write + contents: read # checkout + actions: read # required by deploy-pages v4+ + pages: write # deploy to Pages + id-token: write # verify the deployment source jobs: docs: @@ -30,10 +31,10 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' @@ -44,13 +45,13 @@ jobs: run: npx turbo run build --filter=docs - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v6 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v5 with: path: "./apps/docusaurus/build" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v5 \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9fb6d36..b0c6365 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afe05f8..0002991 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' + cache: yarn + registry-url: 'https://registry.npmjs.org' - name: Install Dependencies run: yarn --frozen-lockfile @@ -44,10 +46,10 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - uses: changesets/action@v1 + uses: changesets/action@v2 with: - version: yarn version - publish: yarn release + version-script: yarn changeset version + publish-script: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index d9f25b2..88760ea 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "typescript": "5.7.3" }, "dependencies": { - "@changesets/changelog-github": "~0.5.0", + "@changesets/changelog-github": "~0.5.2", "@changesets/cli": "~2.27.8" }, "packageManager": "yarn@1.22.19", diff --git a/yarn.lock b/yarn.lock index a2e222d..235da5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1127,12 +1127,12 @@ dependencies: "@changesets/types" "^6.1.0" -"@changesets/changelog-github@~0.5.0": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.5.1.tgz#58870f77cdfd6d59c73cc046a61e55e82d606d24" - integrity sha512-BVuHtF+hrhUScSoHnJwTELB4/INQxVFc+P/Qdt20BLiBFIHFJDDUaGsZw+8fQeJTRP5hJZrzpt3oZWh0G19rAQ== +"@changesets/changelog-github@~0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.5.2.tgz#6225ffcea0698af3ef7403780c8bbc2e93ffa5a0" + integrity sha512-HeGeDl8HaIGj9fQHo/tv5XKQ2SNEi9+9yl1Bss1jttPqeiASRXhfi0A2wv8yFKCp07kR1gpOI5ge6+CWNm1jPw== dependencies: - "@changesets/get-github-info" "^0.6.0" + "@changesets/get-github-info" "^0.7.0" "@changesets/types" "^6.1.0" dotenv "^8.1.0" @@ -1200,10 +1200,10 @@ picocolors "^1.1.0" semver "^7.5.3" -"@changesets/get-github-info@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@changesets/get-github-info/-/get-github-info-0.6.0.tgz#faba66a20a3a5a0cbabea28efd43c9ede7429f11" - integrity sha512-v/TSnFVXI8vzX9/w3DU2Ol+UlTZcu3m0kXTjTT4KlAdwSvwutcByYwyYn9hwerPWfPkT2JfpoX0KgvCEi8Q/SA== +"@changesets/get-github-info@^0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@changesets/get-github-info/-/get-github-info-0.7.0.tgz#d0a55e894343ee719a01901151dba86dfebb2bef" + integrity sha512-+i67Bmhfj9V4KfDeS1+Tz3iF32btKZB2AAx+cYMqDSRFP7r3/ZdGbjCo+c6qkyViN9ygDuBjzageuPGJtKGe5A== dependencies: dataloader "^1.4.0" node-fetch "^2.5.0"