Skip to content

Build form.js

Build form.js #34

Workflow file for this run

name: Build form.js
on:
create:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [v12.19.1]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Install Yarn for building
- name: Install Yarn
run: npm install yarn
- name: Install dependencies
run: yarn install
# Build form.js
- name: Build form.js with Webpack
run: yarn build
# Upload artifact to GitHub
- uses: actions/upload-artifact@v2
with:
name: form.js
path: form.js