Skip to content

Commit

Permalink
had GPT fix it for me
Browse files Browse the repository at this point in the history
  • Loading branch information
ildella committed Sep 1, 2024
1 parent 608c36e commit 61255b7
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Tests

on:
Expand All @@ -11,19 +8,26 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [20, 22]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn test

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn

- name: Run tests
run: yarn test

0 comments on commit 61255b7

Please sign in to comment.