Skip to content

Commit

Permalink
[workflows] build and deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Apr 10, 2024
1 parent 48be65f commit 89c4c40
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build&deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ defaults:
shell: bash

jobs:
# build the job
build:
build-and-deploy:
runs-on: [ubuntu-latest]
defaults:
run:
working-directory: ./apps/exampleapp
env:
ACTIONS_RUNNER_DEBUG: true
steps:
- name: Checkout website repository
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup node
Expand All @@ -51,5 +50,10 @@ jobs:
run: |
npm ci
- name: Build app
run: npm run build
# - name: Build app
# run: npm run build

- name: Publish to github packages
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 89c4c40

Please sign in to comment.