Skip to content

Merge pull request #273 from PoliNetworkOrg/create-pull-request/patch… #171

Merge pull request #273 from PoliNetworkOrg/create-pull-request/patch…

Merge pull request #273 from PoliNetworkOrg/create-pull-request/patch… #171

Workflow file for this run

name: Check PR
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: 🛎 Checkout
uses: actions/checkout@master
- name: 🏗 Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: 📦 Cache node_modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: 👨🏻‍💻 Install dependencies (2)
run: yarn
- name: 👨🏻‍💻 Install dependencies (3)
run: yarn install
- name: 👨‍🏭️ Generate
run: npm run generate