Triage with custom state(AST-81677) #1629
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AST Javascript wrapper CI | |
on: [pull_request] | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Install Git LFS | |
run: | | |
sudo apt-get update | |
sudo apt-get install git-lfs | |
git lfs install | |
- name: Use Node.js 22.11.0 | |
uses: actions/[email protected] | |
with: | |
node-version: 22.11.0 | |
registry-url: https://npm.pkg.github.com/ | |
- run: npm ci | |
- name: Code Linting | |
run: npm run lint | |
- run: npm run build --if-present | |
- name: Check existence of cx-linux binary | |
run: | | |
if [ ! -f "src/main/wrapper/resources/cx-linux" ]; then | |
echo "cx-linux binary does not exist"; exit 1; | |
fi | |
- name: Check existence of cx.exe binary | |
run: | | |
if [ ! -f "src/main/wrapper/resources/cx.exe" ]; then | |
echo "cx.exe binary does not exist"; exit 1; | |
fi | |
- name: Check existence of cx-mac binary | |
run: | | |
if [ ! -f "src/main/wrapper/resources/cx-mac" ]; then | |
echo "cx-mac binary does not exist"; exit 1; | |
fi | |
- name: Run tests | |
env: | |
CX_CLIENT_ID: ${{ secrets.CX_CLIENT_ID}} | |
CX_CLIENT_SECRET: ${{ secrets.CX_CLIENT_SECRET}} | |
CX_BASE_URI: ${{ secrets.CX_BASE_URI }} | |
CX_TENANT: ${{ secrets.CX_TENANT }} | |
CX_APIKEY: ${{ secrets.CX_APIKEY }} | |
run: npm test |