Skip to content

chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.24.0 #151

chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.24.0

chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.24.0 #151

Workflow file for this run

name: DS Api client
on: pull_request
jobs:
tests:
name: Run unit tests
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Checks-out repository
uses: actions/checkout@v4
- name: Use Node.js 20.x.x
uses: actions/setup-node@v4
with:
node-version: "20"
- name: run test unit
env:
API_URL: ${{secrets.API_URL}}
API_TOKEN: ${{secrets.API_TOKEN}}
NODE_TLS_REJECT_UNAUTHORIZED: 0
run: |
npm ci
npm run lint
API_URL=${{secrets.API_URL}}; API_TOKEN=${{secrets.API_TOKEN}}; npm run test
- name: run build
run: npm run build
# - name: prepare deploy
# if: ${{ github.base_ref == 'dev' || github.base_ref == 'main' }}
# run: |
# mkdir target
# cp -r dist target/.
# cp package.json target/.
# cp README.md target/.
# cp -r src target/.
# - name: Deploy
# if: ${{ github.base_ref == 'dev' || github.base_ref == 'main' }}
# uses: s0/git-publish-subdir-action@develop
# env:
# REPO: self
# BRANCH: dev-release/test-1
# FOLDER: target
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}