Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanAriel committed Nov 7, 2023
1 parent 0d33960 commit 9b462b8
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: Node.js CI/CD

on:
pull_request:
Expand All @@ -26,7 +23,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expand All @@ -38,12 +35,6 @@ jobs:
- name: Build
run: yarn build

- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build

deploy:
runs-on: ubuntu-latest
needs: build
Expand All @@ -52,16 +43,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Download production artifacts
uses: actions/download-artifact@v2
with:
name: build-artifacts

- name: Set up Node.js
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"

- name: Deploy
- name: Deploy to Firebase
run: firebase deploy --only hosting --project search-song-api-spotify

0 comments on commit 9b462b8

Please sign in to comment.