Skip to content

fix: code formatter typo #896

fix: code formatter typo

fix: code formatter typo #896

Workflow file for this run

name: Deploy to Netlify on pull requests
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout repo
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node 16
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Prepare
run: npm ci
- name: Install Netlify
run: npm install netlify-cli -g
- name: Build site
run: npm run build
- name: Copy files
run: |
mkdir -p public
mv examples/* public/
# Deploy the site with netlify-cli
- name: Deploy Site
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: netlify deploy --dir=public --filter packages/beacon-sdk --alias=$GITHUB_SHA --message=$GITHUB_SHA