diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2457791..e07347d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use Node.js 18 + - name: Use Node.js 19 uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 19 cache: 'npm' cache-dependency-path: | npm-shrinkwrap.json @@ -37,10 +37,10 @@ jobs: runs-on: windows-latest # Doesn't work on headless ubuntu, and is slow on mac steps: - uses: actions/checkout@v2 - - name: Use Node.js 18 + - name: Use Node.js 19 uses: actions/setup-node@v2 with: - node-version: 18 + node-version: 19 cache: 'npm' cache-dependency-path: | npm-shrinkwrap.json @@ -59,7 +59,7 @@ jobs: strategy: matrix: node-version: - - '18' + - '19' - '12' # the oldest we require in package.json -> engines.node, to check we run on this minimum platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3eacbe..03ac1d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm with: - node-version: '18' # Align the version of Node here with ci.yml. + node-version: '19' # Align the version of Node here with ci.yml. registry-url: 'https://registry.npmjs.org' - run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build - run: npm run test:playwright @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 # Setup .npmrc file to publish to npm with: - node-version: '18' # Align the version of Node here with ci.yml. + node-version: '19' # Align the version of Node here with ci.yml. registry-url: 'https://registry.npmjs.org' - run: npm ci --no-fund # Will also (via `prepare` hook): 1. install ./app, 2. build - run: npm run test:noplaywright