Skip to content

Commit

Permalink
Merge pull request #307 from live-codes/develop
Browse files Browse the repository at this point in the history
release v0.7.0
  • Loading branch information
hatemhosny authored Mar 31, 2023
2 parents 9649d16 + 9b2ba25 commit 321337b
Show file tree
Hide file tree
Showing 706 changed files with 112,092 additions and 19,520 deletions.
34 changes: 34 additions & 0 deletions .bundlewatch.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = {
files: [
{
path: './build/sdk/*.js',
maxSize: '3kB',
},
{
path: './build/assets/*.js',
maxSize: '10kB',
},
{
path: './build/livecodes/!(*lang-)*.js',
maxSize: '30kB',
},
{
path: './build/livecodes/*(app|embed|lite).*.js',
maxSize: '100kB',
},
// {
// path: './build/livecodes/lang-*.js',
// maxSize: '10kB',
// },
{
path: './build/livecodes/*.css',
maxSize: '10kB',
},
],
defaultCompression: 'brotli',
normalizeFilenames: /^.+?((\.[^.]{8,}}?)|())\.\w+$/,
ci: {
repoBranchBase: 'develop',
trackBranches: ['main', 'develop'],
},
};
5 changes: 3 additions & 2 deletions .github/workflows/CI-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [17.x]
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
Expand All @@ -18,10 +18,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build
run: npm run build
- name: Test
run: npm run test
env:
CI: true
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
16 changes: 8 additions & 8 deletions .github/workflows/CI-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [17.x]
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
Expand All @@ -18,7 +18,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build
run: npm run build
- name: Test 1
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [17.x]
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
Expand All @@ -43,7 +43,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build
run: npm run build
- name: Test 2
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [17.x]
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
Expand All @@ -68,7 +68,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build
run: npm run build
- name: Test 3
Expand All @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [17.x]
env:
NODE_OPTIONS: '--max_old_space_size=4096'
steps:
Expand All @@ -93,7 +93,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: npm ci --legacy-peer-deps
- name: Build
run: npm run build
- name: Test 4
Expand Down
64 changes: 0 additions & 64 deletions .github/workflows/CI-test-schedule.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist
.cache
**/*.log
.env
docs/docs/api
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.17.6
v17.6.0
Loading

0 comments on commit 321337b

Please sign in to comment.