ci-improved
This commit is contained in:
parent
a2870a1100
commit
7610c49f33
|
@ -2,6 +2,24 @@ name: 'deploy'
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Lint with Biome
|
||||
run: npx biome ci .
|
||||
|
||||
- name: Check types
|
||||
run: npx tsc --noEmit
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -19,4 +37,4 @@ jobs:
|
|||
with:
|
||||
branch: 'main'
|
||||
git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}'
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user