diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e620b7..bc20d69 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,10 @@ jobs: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@master with: - node-version: 18.x + node-version: 20.x registry-url: 'https://registry.npmjs.org' - name: Install Dependencies @@ -35,4 +35,4 @@ jobs: publish: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 6bae2da..bff15e1 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -6,13 +6,16 @@ jobs: verify: name: Verify changes runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v2 - - name: Setup Node 18.x + - name: Setup Node ${{ matrix.node-version }} uses: actions/setup-node@v1 with: - node-version: 18.x + node-version: ${{ matrix.node-version }} - name: Install Dependencies run: npm ci