Skip to content

chore: Remove request types #167

chore: Remove request types

chore: Remove request types #167

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ master ]
jobs:
lint_test_and_build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install, lint, test and build
run: |
npm install
npm run lint
npm run test
npm run build
- if: github.event_name == 'push'
name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: dist
path: dist