Skip to content

Commit

Permalink
(chore) Bump Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Mar 6, 2024
1 parent 0e92c41 commit 00554b2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "18"

- name: Cache dependencies
id: cache
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "18"
- run: yarn install --immutable
- run: yarn verify
- run: yarn build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: |
Expand All @@ -42,13 +42,13 @@ jobs:

steps:
- run: echo "Uncomment the lines below and delete this one."
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - name: Download Artifacts
# uses: actions/download-artifact@v3
# uses: actions/download-artifact@v4
# - name: Use Node.js
# uses: actions/setup-node@v3
# uses: actions/setup-node@v4
# with:
# node-version: "18.x"
# node-version: "18"
# registry-url: "https://registry.npmjs.org"
# - run: yarn install --immutable
# - run: yarn version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"
Expand All @@ -59,7 +59,7 @@ jobs:
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# - name: Upload Artifacts
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: dist
# path: |
Expand All @@ -73,19 +73,19 @@ jobs:
if: ${{ github.event_name == 'release' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "18"
registry-url: 'https://registry.npmjs.org'
- run: yarn install --immutable
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

deploy:
runs-on: ubuntu-latest

Expand All @@ -96,7 +96,7 @@ jobs:
steps:
- run: echo "Uncomment the lines below and delete this one."
# - name: Trigger RefApp Build
# uses: fjogeleit/http-request-action@master
# uses: fjogeleit/http-request-action@v1
# with:
# url: https://ci.openmrs.org/rest/api/latest/queue/O3-BP
# method: "POST"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "webpack --mode production",
"analyze": "webpack --mode=production --env analyze=true",
"lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\" --list-different",
"typescript": "tsc",
"test": "jest --config jest.config.js --passWithNoTests",
"verify": "turbo lint typescript coverage",
Expand Down

0 comments on commit 00554b2

Please sign in to comment.