Skip to content

Merge pull request #652 from lukso-network/dependabot/npm_and_yarn/cl… #2319

Merge pull request #652 from lukso-network/dependabot/npm_and_yarn/cl…

Merge pull request #652 from lukso-network/dependabot/npm_and_yarn/cl… #2319

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main]
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install ⚙️
run: yarn install --frozen-lockfile
- name: Prettier 🎨
run: yarn run prettier
- name: Build 🛠
run: yarn build
build-and-deploy:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install ⚙️
run: yarn install --frozen-lockfile
- name: Build 🛠
run: yarn build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.