chore(deps-dev): bump @types/node from 20.8.6 to 20.10.0 #417
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: Node.js CI | |
"on": | |
push: | |
branches: | |
- main | |
- alpha | |
- beta | |
pull_request: | |
branches: | |
- main | |
- alpha | |
- beta | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start containers | |
run: docker-compose -f "docker-compose.yml" up -d --build | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- run: npm install -g npm | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm test | |
- run: docker-compose ps -a | |
- run: npm run test:integration | |
- name: Stop containers | |
if: always() | |
run: docker-compose -f "docker-compose.yml" down | |
publish: | |
needs: | |
- build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run build | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |