Skip to content

Commit

Permalink
build: Rename workflows and temporarily remove initial build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Wiraszka committed Jun 29, 2024
1 parent 67a14e8 commit 568fd21
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name: Preview Deployment
name: Preview Website Deployment

on:
push:
branches-ignore :
- main

jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Check out GitHub branch
uses: actions/checkout@v4
# Build:
# runs-on: ubuntu-latest
# steps:
# - name: Check out GitHub branch
# uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20

- name: Set up GitHub action
uses: pnpm/action-setup@v3
with:
version: 9
# - name: Set up GitHub action
# uses: pnpm/action-setup@v3
# with:
# version: 9

- name: Install dependencies
run: pnpm install --frozen-lockfile
# - name: Install dependencies
# run: pnpm install --frozen-lockfile

- name: Build Angular project
run: pnpm run build
# - name: Build Angular project
# run: pnpm run build

# Test:
# needs: [Build]
Expand All @@ -36,7 +36,7 @@ jobs:
# run: pnpm run test

Deploy-Preview:
needs: [Build]
# needs: [Build]
runs-on: ubuntu-latest
steps:
- name: Check out GitHub branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Production Deployment
name: Production Website Deployment

on:
push:
Expand Down

0 comments on commit 568fd21

Please sign in to comment.