1
0
Fork 0
codesnap.nvim/.github/workflows/pack.yaml

31 lines
547 B
YAML
Raw Normal View History

2024-02-24 11:29:40 +00:00
name: Pack
on:
push:
branches:
- main
jobs:
pack:
runs-on: ubuntu-latest
steps:
- name: Setup nodejs
2024-02-24 11:45:06 +00:00
uses: actions/setup-node@v4
working-directory: snap-client
2024-02-24 11:29:40 +00:00
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