Skip to content

Commit

Permalink
Add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Nov 18, 2023
1 parent 803b58c commit 2797835
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
push:
branches: [ 8.xx ]
pull_request:
branches: [ 8.xx ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: build js-dos
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn
- run: yarn run eslint . --ext ts,tsx --max-warnings 0
- run: mkdir -p public/emulators && cp -rv node_modules/emulators/dist/* public/emulators
- run: NODE_ENV=production yarn run gulp
- name: upload
uses: actions/[email protected]
with:
name: 'dist'
path: 'dist'
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

You need to put `emulators@beta` into `public/emulators`.


```
cp -rv node_modules/emulators/dist/* public/emulators
```
Expand Down

0 comments on commit 2797835

Please sign in to comment.