Skip to content

Merge pull request #277 from ahmedalatawi/task/add-google-search-tag-… #525

Merge pull request #277 from ahmedalatawi/task/add-google-search-tag-…

Merge pull request #277 from ahmedalatawi/task/add-google-search-tag-… #525

Workflow file for this run

name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install project
run: yarn install
- name: Build the project
run: yarn run build --if-present
- name: Run tests
run: yarn test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Run lint
run: yarn lint
- name: Run tsc
uses: icrawl/action-tsc@v1