Skip to content

Merge pull request #21 from aepshtin/hebrew-israel #62

Merge pull request #21 from aepshtin/hebrew-israel

Merge pull request #21 from aepshtin/hebrew-israel #62

Workflow file for this run

name: main
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Syncing repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Build Application
run: npm run build-demo
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Syncing repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Test Lib
run: npm run test-lib
- name: Test Demo
run: npm run test-demo
publish-demo:
name: Publish demo
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
needs:
- build
- test
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- name: Deploy demo
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/angular-touch-keyboard