Skip to content

Commit ca8ed13

Browse files
committed
feat(platform): platform is upgraded to v9
1 parent 9785ad9 commit ca8ed13

19 files changed

+4237
-2597
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [ubuntu-latest, windows-latest]
14-
node-version: [12.x]
14+
node-version: [18.x]
1515
steps:
1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@main
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@main
2121
with:
2222
fetch-depth: 3
2323
- name: Get origin master
2424
run: |
2525
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
26-
- uses: actions/cache@v1
26+
- uses: actions/cache@main
2727
id: workspace-cache
2828
with:
2929
path: node_modules
@@ -32,28 +32,29 @@ jobs:
3232
${{ runner.os }}-${{ matrix.node-version }}-workspace-
3333
- name: Install Dependencies
3434
run: yarn install --frozen-lockfile
35+
3536
lint:
3637
runs-on: ${{ matrix.os }}
3738

3839
needs: [setup]
3940
strategy:
4041
matrix:
4142
os: [ubuntu-latest, windows-latest]
42-
node-version: [12.x]
43+
node-version: [18.x]
4344

4445
steps:
4546
- name: Use Node.js ${{ matrix.node-version }}
46-
uses: actions/setup-node@v1
47+
uses: actions/setup-node@main
4748
with:
4849
node-version: ${{ matrix.node-version }}
49-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@main
5051
with:
5152
fetch-depth: 3
5253
- name: Get origin master
5354
if: github.event_name == 'pull_request'
5455
run: |
5556
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
56-
- uses: actions/cache@v1
57+
- uses: actions/cache@main
5758
id: workspace-cache
5859
with:
5960
path: node_modules
@@ -78,21 +79,21 @@ jobs:
7879
strategy:
7980
matrix:
8081
os: [ubuntu-latest, windows-latest]
81-
node-version: [12.x]
82+
node-version: [18.x]
8283

8384
steps:
8485
- name: Use Node.js ${{ matrix.node-version }}
85-
uses: actions/setup-node@v1
86+
uses: actions/setup-node@main
8687
with:
8788
node-version: ${{ matrix.node-version }}
88-
- uses: actions/checkout@v2
89+
- uses: actions/checkout@main
8990
with:
9091
fetch-depth: 3
9192
- name: Get origin master
9293
if: github.event_name == 'pull_request'
9394
run: |
9495
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
95-
- uses: actions/cache@v1
96+
- uses: actions/cache@main
9697
id: workspace-cache
9798
with:
9899
path: node_modules
@@ -117,21 +118,21 @@ jobs:
117118
strategy:
118119
matrix:
119120
os: [ubuntu-latest, windows-latest]
120-
node-version: [12.x]
121+
node-version: [18.x]
121122

122123
steps:
123124
- name: Use Node.js ${{ matrix.node-version }}
124-
uses: actions/setup-node@v1
125+
uses: actions/setup-node@main
125126
with:
126127
node-version: ${{ matrix.node-version }}
127-
- uses: actions/checkout@v2
128+
- uses: actions/checkout@main
128129
with:
129130
fetch-depth: 3
130131
- name: Get origin master
131132
if: github.event_name == 'pull_request'
132133
run: |
133134
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
134-
- uses: actions/cache@v1
135+
- uses: actions/cache@main
135136
id: workspace-cache
136137
with:
137138
path: node_modules

jest.config.js renamed to jest.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
module.exports = {
1+
const { getJestProjects } = require('@nrwl/jest');
2+
3+
export default {
24
projects: [
5+
...getJestProjects(),
36
'<rootDir>/packages/playground',
47
'<rootDir>/packages/in-memory-db',
58
'<rootDir>/packages/playground-e2e',

jest.preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const nxPreset = require('@nrwl/jest/preset');
1+
const nxPreset = require('@nrwl/jest/preset').default;
22
module.exports = {
33
...nxPreset,
44
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],

0 commit comments

Comments
 (0)