Skip to content

chore: update to github workflow (WEB-9) #9

chore: update to github workflow (WEB-9)

chore: update to github workflow (WEB-9) #9

Workflow file for this run

on:
push:
branches:
- main
pull_request:
jobs:
contrib-readme-job:
if: github.event_name == 'push'
runs-on: ubuntu-latest
name: A job to automate contrib in readme
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install TypeScript
run: npm install -g typescript
- name: Check TypeScript Version
run: tsc --version
typescript-setup-job:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
name: Setup TypeScript on PR
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install TypeScript
run: npm install -g typescript
- name: Check TypeScript Version
run: tsc --version