mirror of
https://github.com/mistricky/codesnap.nvim.git
synced 2025-01-14 12:57:29 -08:00
[Feat] pack client on CI
This commit is contained in:
parent
3b8f8e49d0
commit
ac7e7de7dd
1 changed files with 29 additions and 0 deletions
29
.github/workflows/pack.yaml
vendored
Normal file
29
.github/workflows/pack.yaml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Pack
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pack:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Setup nodejs
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Install deps
|
||||||
|
working-directory: snap-client
|
||||||
|
run: npm i
|
||||||
|
|
||||||
|
- name: Build package
|
||||||
|
working-directory: snap-client
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Move into public folder
|
||||||
|
run: cp -r snap-client/build snap-server/public
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue