Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .github/workflows/build_test.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Publish
name: ngx-aws-deploy

on:
push:
branches: [ master, beta, main ]
branches:
- main
pull_request:

jobs:
build:

runs-on: ubuntu-latest

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

steps:
- name: Clone repository
uses: actions/checkout@v1
with:
fetch-depth: 1
# `fetch-depth` defaults to 1.
uses: actions/checkout@v2
- name: Cache builder node modules
id: cache
uses: actions/cache@v1
Expand All @@ -29,13 +29,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Get origin main
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
node-version: ${{ matrix.version }}
- name: Install Builder Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm install
run: npm ci
- name: Symlink dist 🔗
run: npm run symlinks
- name: Tests coverage
Expand Down
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down
7 changes: 5 additions & 2 deletions libs/ngx-aws-deploy/src/lib/deploy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ const getFiles = (filesPath: string) => {
});
};

export default createBuilder<any>(
async (builderConfig: Schema, context: BuilderContext): Promise<any> => {
export default createBuilder(
async (
builderConfig: Schema,
context: BuilderContext
): Promise<BuilderOutput> => {
context.reportStatus('Executing deployment');
if (!context.target) {
throw new Error('Cannot deploy the application without a target');
Expand Down
Loading