Skip to content

Add build action for archiving artifacts on merge #1

Add build action for archiving artifacts on merge

Add build action for archiving artifacts on merge #1

Workflow file for this run

name: Build
on:
push:
branches:
- mdl-1.x
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: npm install build and test
uses: actions/setup-node@v4
with:
node-version: 11
cache: 'npm'
run: |
npm install
npm run test
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: |
dist/material.js
dist/material.min.js
dist/material.min.js.map