Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x]
node-version: [18.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 3
- name: Get origin master
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
- uses: actions/cache@v1
- uses: actions/cache@main
id: workspace-cache
with:
path: node_modules
Expand All @@ -32,28 +32,29 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-workspace-
- name: Install Dependencies
run: yarn install --frozen-lockfile

lint:
runs-on: ${{ matrix.os }}

needs: [setup]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x]
node-version: [18.x]

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 3
- name: Get origin master
if: github.event_name == 'pull_request'
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
- uses: actions/cache@v1
- uses: actions/cache@main
id: workspace-cache
with:
path: node_modules
Expand All @@ -78,21 +79,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x]
node-version: [18.x]

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 3
- name: Get origin master
if: github.event_name == 'pull_request'
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
- uses: actions/cache@v1
- uses: actions/cache@main
id: workspace-cache
with:
path: node_modules
Expand All @@ -117,21 +118,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12.x]
node-version: [18.x]

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- uses: actions/checkout@main
with:
fetch-depth: 3
- name: Get origin master
if: github.event_name == 'pull_request'
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
- uses: actions/cache@v1
- uses: actions/cache@main
id: workspace-cache
with:
path: node_modules
Expand Down
5 changes: 4 additions & 1 deletion jest.config.js → jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
const { getJestProjects } = require('@nrwl/jest');

export default {
projects: [
...getJestProjects(),
'<rootDir>/packages/playground',
'<rootDir>/packages/in-memory-db',
'<rootDir>/packages/playground-e2e',
Expand Down
2 changes: 1 addition & 1 deletion jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const nxPreset = require('@nrwl/jest/preset');
const nxPreset = require('@nrwl/jest/preset').default;
module.exports = {
...nxPreset,
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
Expand Down
Loading