Skip to content

Bump node version to v20 #15

Bump node version to v20

Bump node version to v20 #15

Workflow file for this run

name: Build
on: push
jobs:
Build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
react-version: [18]
steps:
- uses: actions/checkout@master
- name: Setup Environment
uses: prezly/setup-github-actions@v1
with:
node: ${{ matrix.node-version }}
pnpm: "9.4.0"
- name: Set React ${{ matrix.react-version }}
uses: prezly/pnpm-overrides-action@v1
with:
'@types/react': "${{ matrix.react-version }}"
'@types/react-dom': "${{ matrix.react-version }}"
'react': "${{ matrix.react-version }}"
'react-dom': "${{ matrix.react-version }}"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- run: pnpm build
- run: pnpm test