Skip to content

remove public

remove public #4

Workflow file for this run

name: NodeJS with Webpack
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Create dir
run: |
mkdir public
- name: Build
run: |
npm install
npx webpack
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: public
# A file, directory or wildcard pattern that describes what to upload
path: /public
# The desired behavior if no files are found using the provided path.