diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml deleted file mode 100644 index e72d6f0..0000000 --- a/.github/actions/setup/action.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Install dependencies - -inputs: - node-version: { required: true } - couchdb-version: { required: false, default: '3.1' } - -runs: - using: composite - - uses: actions/setup-node@v4 - with: - node-version: ${{ inputs.node-version }} - cache: yarn - - run: yarn install # --frozen-lockfile TODO get this option working diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2aa1ba..6b0f0bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,11 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: ./.github/actions/setup + - uses: actions/setup-node@v4 with: node-version: 18 + cache: yarn + - run: yarn install # --frozen-lockfile TODO get this option working - run: yarn lint test-js: timeout-minutes: 2 @@ -36,9 +38,11 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: ./.github/actions/setup + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} + cache: yarn + - run: yarn install # --frozen-lockfile TODO get this option working - run: yarn test test-ts: timeout-minutes: 2 @@ -48,6 +52,7 @@ jobs: fail-fast: false matrix: node: + # - '10' dropped support due to error postgres-array@3.0.2: The engine "node" is incompatible with this module. Expected version ">=12". Got "10.24.1" - '12' - '14' - '16' @@ -58,7 +63,9 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false - - uses: ./.github/actions/setup + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} + cache: yarn + - run: yarn install # --frozen-lockfile TODO get this option working - run: yarn test-ts