Skip to content

Commit

Permalink
🔧 chore: Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed Apr 15, 2024
1 parent 7b235d6 commit ccde5c9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,31 @@ on:

jobs:
qa:
name: Lint & Build
name: Lint, Typecheck, Test and Build source files
runs-on: [self-hosted, Linux]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci --ignore-scripts
run: npm ci

- name: Lint source files
run: npm run lint

- name: Run Prettier
run: npm run prettier

- name: Check types
run: npm run typecheck

- name: Run tests
run: npm run test:coverage

- name: Build package
run: npm run build
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
npm-publish: public
npm-token: ${{ secrets.NPM_AUTH_TOKEN }}
npm-token: ${{ secrets.NPM_AUTH_TOKEN_PUBLIC }}

0 comments on commit ccde5c9

Please sign in to comment.