Skip to content

Update webpack.config.js #7

Update webpack.config.js

Update webpack.config.js #7

Workflow file for this run

name: Build and Minify Library
on:
push:
branches:
- main
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Install dependencies
run: npm install
- name: Build and minify
run: npm run build
- name: Archive dist
uses: actions/upload-artifact@v3
with:
name: g-calendar-fetcher-minified
path: dist/g-calendar-fetcher.min.js