Attempt at making use of OIDC for AWS deployment #223
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
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: ['*'] | |
name: Code quality | |
jobs: | |
vue-tsc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Run vue-tsc | |
run: npm run analyze | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm ci | |
- name: Run vue-tsc | |
run: npm run lint | |
# jest: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-node@v4 | |
# with: | |
# node-version: 20.x | |
# - name: Install dependencies | |
# run: npm ci | |
# - name: Run vue-tsc | |
# run: npm run test | |
test-infrastructure: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Create folder for testing | |
run: mkdir dist | |
- name: Install dependencies | |
run: cd infrastructure && npm ci | |
- name: Run vue-tsc | |
run: cd infrastructure && npm run test |