Skip to content

Fix copy paste error in readme (#146) #111

Fix copy paste error in readme (#146)

Fix copy paste error in readme (#146) #111

Workflow file for this run

name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "test"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Setup Node environment
- uses: actions/setup-node@v1
with:
node-version: '14'
# Install dependencies
- name: Install dependencies
run: yarn
# Build release bundle
- name: Build release artifact
run: yarn build
# Update example dependency
- name: Link the latest build
run: yarn add ../dist
working-directory: example
# Build example
- name: Build example
run: yarn build
working-directory: example
# Upload artifact
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: release-pack
path: |
dist
package.json