chore(deps): update dependency @types/node to v20.17.16 #523
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: 'Backend' | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build_and_deploy_job: | |
runs-on: ubuntu-latest | |
name: Build and Deploy Job | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install | |
run: | | |
npm install | |
- name: Test | |
run: npm test | |
- name: Start LocalStack | |
run: | | |
pip install localstack awscli-local[ver1] | |
docker pull localstack/localstack | |
localstack start -d | |
echo "Waiting for LocalStack startup..." | |
localstack wait -t 30 | |
echo "Startup complete" | |
- name: Build | |
run: npm run build | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |