Bump @babel/traverse from 7.21.4 to 7.23.2 #822
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: Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
################################################### | |
# | |
# Prepare | |
# | |
################################################### | |
- name: (PREPARE) Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: (PREPARE) Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: (PREPARE) Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.15.0 | |
cache: yarn | |
- name: (PREPARE) Install Node Modules | |
run: rm -rf node_modules && yarn --immutable | |
- name: (PREPARE) Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
cache: pip | |
- name: (PREPARE) Install xOpera | |
run: sudo ./src/assets/scripts/install-xopera.sh | |
################################################### | |
# | |
# Test | |
# | |
################################################### | |
- name: (TEST) Check ESLint | |
run: yarn lint:check | |
- name: (TEST) Check Prettier | |
run: yarn style:check | |
- name: (TEST) Check Dependencies | |
run: yarn dependencies:check | |
- name: (TEST) Check Service Templates | |
run: yarn puccini:check | |
- name: (TEST) Run Tests | |
run: yarn test | |
################################################### | |
# | |
# Build | |
# | |
################################################### | |
- name: (DOCS) Generate Dependencies Page | |
run: yarn docs:generate:dependencies | |
- name: (BUILD) Build Project | |
run: yarn build | |
- name: (BUILD) Setup Packaging Cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pkg-cache | |
key: pkg | |
- name: (BUILD) Package Binaries | |
run: yarn package | |
################################################### | |
# | |
# Docker | |
# | |
################################################### | |
- name: (DOCKER) Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3.0.0 | |
- name: (DOCKER) Log in to the container registry | |
uses: docker/login-action@v3.0.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: (DOCKER) Build Docker image | |
uses: docker/build-push-action@v5.0.0 | |
with: | |
context: . | |
tags: ghcr.io/opentosca/opentosca-vintner:${{ github.sha }} | |
cache-from: type=registry,ref=ghcr.io/opentosca/opentosca-vintner:buildcache | |
cache-to: type=registry,ref=ghcr.io/opentosca/opentosca-vintner:buildcache,mode=max | |
################################################### | |
# | |
# Docs | |
# | |
################################################### | |
- name: (DOCS) Install Dependencies | |
run: yarn docs:install | |
- name: (DOCS) Build Documentation Commands | |
run: yarn docs:build:commands | |
- name: (DOCS) Generate Interface Page | |
run: yarn docs:generate:interface | |
- name: (DOCS) Generate Variability4TOSCA Conformance Test Pages | |
run: yarn docs:generate:tests:variability | |
- name: (DOCS) Generate Queries4TOSCA Conformance Test Pages | |
run: yarn docs:generate:tests:query | |
- name: (DOCS) Generate TOSCA SofDCar Profile Page | |
run: yarn docs:generate:sofdcar | |
- name: (DOCS) Generate PlantUML of Service Templates | |
run: yarn docs:generate:puml | |
- name: (DOCS) Build Docs | |
run: yarn docs:build |