Skip to content

Commit

Permalink
RID-4898 & RID-6202 change sdk default url api gateway, expose DRSCon…
Browse files Browse the repository at this point in the history
…figOptions type, add initSuccessLog param (#14)

* RID-4898 change sdk default url to api gateway

* RID-4898 update CHANGELOG"

* RID-6202 release new version - api gateway, DRSConfigOptions, and initSuccessLog optional param

* RID-4898 update node version

* RID-4898 update yarn version

* RID-4898 use corepack to manage yarn version

* RID-4898 fix ci.yml syntax

* RID-4898 updare yarn.lock file

* RID-4898 add workspace yarn.lock file

* RID-4898 add --frozen-lockfile flag

* RID-4898 install project

* RID-4898 remove global add for improved-yarn-audit

* RID-4898 run improved audit witn npx

* RID-4898 add .iyarc

* RID-4898 test audit in ci

* RID-4898 add yarn audit script

* RID-4898 run audit

* RID-4898 try fix

* RID-4898 test npm audit

* RID-4898 bump vite for audit issue

* RID-4898 fix yarn pack

* RID-4898 remove pnp file

* RID-4898 yarn.lock update

* RID-4898 remove improved-yarn-audit package

* RID-4898 update typescript package

* RID-4898 update yarn.lock file

* RID-4898 re-update yarn.lock file for node 18

* RID-4898 yarn use ci-version
  • Loading branch information
adidim-transmit authored Jul 9, 2024
1 parent 627dfa6 commit 9ef2d68
Show file tree
Hide file tree
Showing 18 changed files with 15,657 additions and 1,883 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI

env:
NODE_VERSION: 16.14
NODE_VERSION: 18.0.0
RUNID_VERSION_SUFFIX: ${{ github.run_id }}.${{ github.run_attempt }}

on:
Expand All @@ -23,19 +23,21 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install yarn
run: npm install --global yarn
- name: Enable Corepack
run: corepack enable

- name: Install dependencies
- name: Prepare Yarn 3.4.1
run: corepack prepare [email protected] --activate

- name: Install package dependencies
run: |
cd package
yarn
yarn install --frozen-lockfile
- name: Audit
run: |
yarn global add improved-yarn-audit
cd package
yarn run ci-audit
yarn npm audit
- name: Lint
run: |
cd package
Expand All @@ -54,7 +56,8 @@ jobs:
- name: Pack
run: |
cd package/dist
yarn pack
PACKAGE_VERSION=$(yarn ci-version)
yarn pack --filename ../transmitsecurity-riskid-reactjs-ts-v$PACKAGE_VERSION.tgz
cd ..
- name: Archive NPM package
uses: actions/upload-artifact@v3
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Thumbs.db

.rt_creds
.npmrc

**/.yarn
Loading

0 comments on commit 9ef2d68

Please sign in to comment.