Skip to content

chore(dev): fix package metadata #6

chore(dev): fix package metadata

chore(dev): fix package metadata #6

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
node-jdbc:
name: node-jdbc
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version:
- 18
- 20
steps:
- name: 🧶 Get yarn cache directory path 🧶
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT"
- name: 💵 Cache 💵
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node_version }}-yarn-
${{ runner.os }}-yarn-
- name: ☑️ Checkout ☑️
uses: actions/checkout@v4
- name: 🔋 Node 🔋
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: 💾 Install 💾
run: yarn install
- name: 🧪 Test 🧪
run: yarn test