Skip to content

Commit

Permalink
Edit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AAVision committed Mar 29, 2024
1 parent bcb78d9 commit 5bc6af6
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,36 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Setup Node.js
# uses: actions/setup-node@v2
# with:
# node-version: '14'

# - name: Install dependencies
# run: npm install

# - name: Build
# run: npm run build

# - name: Deploy
# run: npm run ng deploy


steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 21.x
uses: actions/setup-node@v2
with:
node-version: 21.x
node-version: '21'

- name: Prepare and deploy
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm ci
run: npm install
npm run ng deploy

0 comments on commit 5bc6af6

Please sign in to comment.