diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bc23e76..223d89c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,15 +16,15 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' - run: yarn install - - run: yarn test \ No newline at end of file + - run: yarn test diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index ae332e4..087ed11 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' scope: '@diamondlightsource' - run: yarn - run: yarn build - run: yarn npm publish --access public - + diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 4b7e951..01b794b 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -13,21 +13,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Source - uses: actions/checkout@v3.5.1 + uses: actions/checkout@v4 - name: Setup Node.js Environment - uses: actions/setup-node@v3.7.0 + uses: actions/setup-node@v4 with: cache: yarn - - name: Install Yarn Dependencies + - name: Install Yarn Dependencies run: yarn install - name: Build Storybook run: yarn build-storybook - name: Upload Pages Artifact - uses: actions/upload-pages-artifact@v2.0.0 + uses: actions/upload-pages-artifact@v4 with: path: storybook-static @@ -44,4 +44,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2.0.3 + uses: actions/deploy-pages@v4