diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml new file mode 100644 index 0000000..58fc35f --- /dev/null +++ b/.github/workflows/qa.yml @@ -0,0 +1,31 @@ +name: Quality assurance + +on: + - push + +env: + PNPM_VERSION: '8.13.1' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v3 + with: + version: ${{ env.PNPM_VERSION }} + + - name: Install dependencies + run: pnpm install + + - name: Build check + run: pnpm build + + - name: Spell check + run: pnpm spell-check + + - name: Docker build check + run: docker build . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index c43c922..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Quality assurance - -on: [push] - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Install dependencies - run: npm ci - - - name: Build check - run: npm run build - - - name: Spell check - run: npm run spell-check - - - name: Docker build check - run: docker build .