Merge branch 'dev' into releases/v3

This commit is contained in:
James Ives 2020-05-18 08:57:23 -04:00
commit 2055e89d83
5 changed files with 16 additions and 7 deletions

View File

@ -16,11 +16,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.15.1'
registry-url: 'https://registry.npmjs.org'
- name: Install Yarn
run: npm install -g yarn
- name: Install and Test
run: |
npm install
npm run-script lint
npm run-script test
yarn install
yarn lint
yarn test
- name: Uploade CodeCov Report
uses: codecov/codecov-action@v1

View File

@ -29,6 +29,7 @@ Comment out the following in distribution branches:
```
# node_modules/
# lib/
```
Build the project:
@ -44,7 +45,7 @@ $ git checkout -b branchnamehere
$ git commit -a -m "prod dependencies"
```
The `node_modules` folder should _not_ be included when making a pull request. These are only required for GitHub Actions when it consumes the distribution branch, the `dev` branch of the project should be free from any dependencies or lib files.
The `node_modules` and `lib` folders should _not_ be included when making a pull request. These are only required for GitHub Actions when it consumes the distribution branch, the `dev` branch of the project should be free from any dependencies or lib files.
## Resources 💡

View File

@ -111,7 +111,7 @@ run({
});
```
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7). You can find the npm listing for the module [here](https://www.npmjs.com/package/github-pages-deploy-action).
For more information regarding the [action interface please click here](https://github.com/JamesIves/github-pages-deploy-action/blob/dev/src/constants.ts#L7). You can find the npm registry listing for the module [here](https://www.npmjs.com/package/@jamesives/github-pages-deploy-action), and the GitHub registry listing [here](https://github.com/JamesIves/github-pages-deploy-action/packages/229985).
## Configuration 📁

View File

@ -2,7 +2,7 @@
"name": "@jamesives/github-pages-deploy-action",
"description": "GitHub action for building a project and deploying it to GitHub pages.",
"author": "James Ives <iam@jamesiv.es> (https://jamesiv.es)",
"version": "3.5.1",
"version": "3.5.2",
"license": "MIT",
"main": "lib/lib.js",
"types": "lib/lib.d.ts",

View File

@ -24,7 +24,7 @@ export async function init(action: ActionInterface): Promise<void | Error> {
`git remote add origin ${action.repositoryPath}`,
action.workspace
)
await execute(`git fetch`, action.workspace)
await execute(`git fetch --no-recurse-submodules`, action.workspace)
info('Git configured… 🔧')
} catch (error) {