Skip to content

Commit

Permalink
adds test command
Browse files Browse the repository at this point in the history
  • Loading branch information
shelane committed Mar 10, 2023
1 parent 4d70925 commit 6314723
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .docksal/commands/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

## Initialize stack (full reset)
## Install Angular CLI
##
## Usage: fin init

yellow='\033[1;33m'
NC='\033[0m'

#-------- Runtime ----------

# Reset containers
fin project reset --force

# Install Angular CLI
echo -e "${yellow}Installing the Angular CLI${NC}"
cd "$PROJECT_ROOT"
fin exec npm install -g @angular/cli || exit 1

# Install new site
fin install
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install boilerplate
run: fin init
run: fin test
- name: fin config
run: fin config

0 comments on commit 6314723

Please sign in to comment.