Skip to content

Commit

Permalink
Update workflows to compile USWDS
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmb committed Sep 19, 2024
1 parent 26dd6de commit 8305096
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Build with Eleventy
run: npm run build

- name: Compile USWDS
run: npx gulp compile

- name: Deploy to cloud.gov
uses: cloud-gov/cg-cli-tools@main
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Build site
run: npm run build

- name: Compile USWDS
run: npx gulp compile

- name: Start web serving container
# leverage the docker compose setup that we already have for local development
run: docker compose up -d
Expand All @@ -44,6 +47,8 @@ jobs:
run: npm ci
- name: Build site
run: npm run build
- name: Compile USWDS
run: npx gulp compile
- name: Start web serving container
# leverage the docker compose setup that we already have for local development
run: docker compose up -d
Expand Down Expand Up @@ -72,6 +77,9 @@ jobs:
- name: Build site
run: npm run build

- name: Compile USWDS
run: npx gulp compile

- name: Start web serving container
# leverage the docker compose setup that we already have for local development
run: docker compose up -d
Expand All @@ -91,6 +99,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4

- name: Install node packages
run: npm ci

- name: Build site
run: npm run build

- name: Compile USWDS
run: npx gulp compile

- name: Start web serving container
# leverage the docker compose setup that we already have for local development
run: docker compose up -d


# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
Expand Down

0 comments on commit 8305096

Please sign in to comment.