ahmedgaafer/JS-Data-Structures

View on GitHub
.github/workflows/main.yml

Summary

Maintainability
Test Coverage
name: ON-TS-CONVERSION-PUSH

on:
  push:
    branches:
      - "master"

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Install and Build

        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          npm install
          npm run doc:prod
      - name: test
        run: |
         npm run test
      - name: Deploy 🚀
        uses: JamesIves/github-pages-deploy-action@releases/v4
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          BRANCH: gh-pages
          FOLDER: docs