Skip to content

NPM publish workflow #2

NPM publish workflow

NPM publish workflow #2

Workflow file for this run

name: NPM publish workflow
on:
workflow_dispatch:
push:
branches:
- 'main'
paths-ignore:
- '.github/workflows/*' # не запускать воркфлоу при обновлении самих воркфлоу
jobs:
Prepare_and_publish:
runs-on: ubuntu-latest
steps:
- name: Get repository code
uses: actions/checkout@v4
- name: Install node modules
run: yarn
- name: Make build
run: yarn build
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
path: build
name: codebud-test-wf-build
- name: Get build folder
uses: actions/download-artifact@v3
with:
name: codebud-test-wf-build