Skip to content

Commit

Permalink
[Feat] pack client on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Feb 24, 2024
1 parent 3b8f8e4 commit ac7e7de
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pack.yaml
Original file line number Diff line number Diff line change
@@ -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


0 comments on commit ac7e7de

Please sign in to comment.