Skip to content

Commit

Permalink
Merge pull request #219 from rapid7/dgreene-r7-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreene-r7 authored Jul 18, 2023
2 parents 7fb0899 + b97e60e commit 4725e71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lint and Test

on: [push, pull_request]
on: [pull_request]

jobs:
test:
Expand Down
8 changes: 6 additions & 2 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ const exec = util.promisify(require('node:child_process').exec);
const { globSync } = require('glob');
const awsaml = require('./package.json');

const includeFiles = [
let includeFiles = [
// we need to make sure the project root directory is included
'',
...globSync('build/**'),
...globSync('src/**'),
'LICENSE.md',
'package.json',
Expand Down Expand Up @@ -59,6 +58,11 @@ const config = {
}

await exec('yarn react-build');
// Update the files we want to include with generated build artifacts
includeFiles = [
...includeFiles,
...globSync('build/**'),
];
},
prePackage: () => {
// Clear the out directory if it exists
Expand Down

0 comments on commit 4725e71

Please sign in to comment.