Skip to content

Commit

Permalink
(chore) Bump @actions/upload-artifact GitHub action (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Oct 20, 2023
1 parent 14b8cd5 commit 9d1812e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn
Expand All @@ -36,15 +36,15 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}

- name: Run tests, lint and typechecking
run: yarn verify

- name: Run build
run: yarn turbo build --color --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team="${{ github.repository_owner }}"

- name: Upload build artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: packages
path: |
Expand All @@ -71,7 +71,7 @@ jobs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn
Expand All @@ -81,18 +81,18 @@ jobs:

- name: Patch
run: yarn lerna version patch --no-git-tag-version --no-push --yes

- name: Version
run: yarn lerna version "$(node -e "console.log(require('./lerna.json').version)")-pre.${{ github.run_number }}" --no-git-tag-version --yes

- run: git config user.email "[email protected]" && git config user.name "OpenMRS CI"
- run: git add . && git commit -m "Prerelease version" --no-verify

- name: Pre-release
run: yarn run ci:prepublish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

deploy_home_page:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -129,14 +129,14 @@ jobs:
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npx lerna bootstrap

- name: Build
run: yarn turbo build --color

- name: Publish
run: yarn run ci:publish
env:
Expand Down

0 comments on commit 9d1812e

Please sign in to comment.