Skip to content

Commit

Permalink
ci: 😺 update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Aug 20, 2023
1 parent 5297a3c commit c610c38
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,29 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run test
- run: npm run build
- run: npm run i18n

- name: Install dependencies
run: npm i

- name: Run tests
run: npm test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm i

- name: Build
run: npm run build
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- uses: webfactory/ssh-agent@v0.5.3
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}

- name: Install dependencies
run: npm ci
run: npm i

- name: Build docs
run: npm run build:docs
Expand Down

0 comments on commit c610c38

Please sign in to comment.