Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Aug 9, 2024
1 parent ba9a047 commit f265362
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: "DevExtreme CodeQL config"

paths-ignore:
- "artifacts/**"
- "themebuilder-scss/dist/**"
- "/js/bundles/dx.custom.js"
- "/js/localization/default_messages.js"
- "/js/localization/cldr-data/**"
39 changes: 39 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,45 @@ jobs:
with:
ref: ${{ matrix.branch }}

- name: Use Node.js
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
uses: actions/setup-node@v4
with:
node-version: '20'

- uses: pnpm/action-setup@v3
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
with:
version: 9
run_install: false

- name: Get pnpm store directory
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
name: Setup pnpm cache
with:
path: |
${{ env.STORE_PATH }}
.nx/cache
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store
- name: Install dependencies
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
run: |
corepack enable
pnpm install
- name: Build npm packages
if: ${{ matrix.branch == '24_2' && matrix.language == 'javascript'}}
run: pnpm run all:build

- name: Get head SHA
id: get-head-sha
run: echo "SHA=$(git rev-parse origin/${{ matrix.branch }})" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit f265362

Please sign in to comment.