diff --git a/.github/workflows/node.js.yml b/.github/workflows/ci.yml similarity index 55% rename from .github/workflows/node.js.yml rename to .github/workflows/ci.yml index db89310..2ed01c9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: - - 18.x + node-version: ["latest"] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + - uses: nrwl/nx-set-shas@v4 - run: npm ci - - run: npm run build --if-present - - run: npm test + + - run: npx nx format:check + - run: npm run lint + - run: npx nx affected -t test --parallel=3 + # - run: npx nx affected -t build --parallel=3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d02f6b4..eb82bf4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js 16.x uses: actions/setup-node@v3