Skip to content

Commit

Permalink
Preparation for release v.1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lu Nguyen committed Oct 16, 2023
1 parent e3f8532 commit 66459ff
Show file tree
Hide file tree
Showing 7 changed files with 1,097 additions and 1,507 deletions.
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
interval: 'monthly'

- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "monthly"
interval: 'monthly'
42 changes: 21 additions & 21 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ master, develop, develop-* ]
branches: [master, develop, develop-*]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, develop, develop-* ]
branches: [master, develop, develop-*]
schedule:
- cron: '15 2 * * 5'

Expand All @@ -21,28 +21,28 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Install modules
run: yarn install
- name: Install modules
run: yarn install

- name: Lint
run: yarn lint:check
- name: Lint
run: yarn lint:check

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
6 changes: 3 additions & 3 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: demo
on:
push:
tags:
- "*"
- '*'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -17,8 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
fetch-depth: 0
ref: master

- uses: actions/setup-node@v3
with:
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
name: "release"
name: 'release'

on:
push:
tags:
- "*"
- '*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
fetch-depth: 0
ref: master

- uses: actions/setup-node@v3
with:
node-version: 16

- run: git submodule update --init --recursive
- run: yarn install
- run: yarn lint
- run: CI=false yarn run build
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
ignore-scripts: false

- name: Docker meta
id: meta
Expand Down Expand Up @@ -68,8 +60,17 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- run: yarn install
- run: yarn lint:check
- run: CI=false yarn build
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
ignore-scripts: false
package: ./packages/aesirx-dma-app

- name: Release note
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true

15 changes: 14 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,22 @@ COPY nx.json .
COPY package.json .
COPY yarn.lock .

COPY ./packages/aesirx-dam-app/package.json ./packages/aesirx-dam-app/package.json
COPY ./packages/aesirx-dam-app ./packages/aesirx-dam-app
COPY ./packages/aesirx-lib ./packages/aesirx-lib
COPY ./packages/aesirx-uikit ./packages/aesirx-uikit

RUN apk add --update --no-cache \
make \
g++ \
jpeg-dev \
cairo-dev \
giflib-dev \
pango-dev \
libtool \
autoconf \
automake \
py3-pip

RUN yarn install --frozen-lockfile --network-timeout 600000

## Builder
Expand All @@ -21,6 +33,7 @@ RUN apk add --no-cache git

# Cache and Install dependencies
COPY --from=deps ./app/node_modules ./node_modules
COPY --from=deps ./app/packages/aesirx-dam-app/dist ./packages/aesirx-dam-app/dist
COPY --from=deps ./app/packages/aesirx-lib/dist ./packages/aesirx-lib/dist
COPY --from=deps ./app/packages/aesirx-uikit/dist ./packages/aesirx-uikit/dist

Expand Down
2 changes: 1 addition & 1 deletion packages/aesirx-dam-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aesirx-dam-app",
"version": "1.4.1",
"version": "1.5.0",
"license": "GPL-3.0-only",
"author": "AesirX",
"main": "dist/index.js",
Expand Down
Loading

0 comments on commit 66459ff

Please sign in to comment.