Skip to content

Commit

Permalink
feat(platform): platform is upgraded to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleygrimes committed Dec 10, 2022
1 parent 9785ad9 commit ca8ed13
Show file tree
Hide file tree
Showing 19 changed files with 4,237 additions and 2,597 deletions.
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

0 comments on commit ca8ed13

Please sign in to comment.