diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd8931bc..731dc28d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: - 'alpha' jobs: build-test-publish: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 663b8fa6..c3952da9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,15 +2,19 @@ name: Build and Test NODE on: [pull_request, workflow_dispatch, push] jobs: build-test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 + strategy: + matrix: + version: [ 14, 16, 18 ] steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Use Node.js + + - name: "Setup node with cache" uses: actions/setup-node@v3 with: - node-version: 14 + node-version: ${{ matrix.version }} cache: 'yarn' - run: yarn install --frozen-lockfile