Skip to content

Commit

Permalink
skip test in build workflow. because spectron does not support Electr…
Browse files Browse the repository at this point in the history
…on 15 yet
  • Loading branch information
sakazuki committed Oct 25, 2021
1 parent 5ea2087 commit 42749aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 241 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
release/latest.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: test launch
run: npm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: test launch
# run: npm test
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
## spectron does not support Electron 15 yet
4 changes: 1 addition & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ async function copyFiles() {

async function patchFiles() {
await fs.copy('patch/underscore-package.json', path.join(__dirname, "node_modules/nomnom/node_modules/underscore/package.json"));
// issue#49 https://github.com/sakazuki/node-red-desktop/issues/49
// await fs.copy('patch/i18n.js', path.join(__dirname, "node_modules/@node-red/util/lib/i18n.js"));
return ['nomnom/*/underscore/package.json', '@node-red/util/lib/i18.js'];
return ['nomnom/*/underscore/package.json'];
}

async function build() {
Expand Down
234 changes: 0 additions & 234 deletions patch/i18n.js

This file was deleted.

0 comments on commit 42749aa

Please sign in to comment.