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 95cefad commit ebfee3e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.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@v2
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v1
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@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: |
Expand All @@ -41,15 +41,15 @@ jobs:
if: ${{ github.event_name == 'push' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "18"
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
Expand All @@ -63,12 +63,12 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: |
dist
deploy_fast_data_entry_app:
runs-on: ubuntu-latest

Expand All @@ -78,7 +78,7 @@ jobs:

steps:
- 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-BF
method: "POST"
Expand All @@ -92,13 +92,13 @@ jobs:
if: ${{ github.event_name == 'release' }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "18"
registry-url: 'https://registry.npmjs.org'
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish
env:
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": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" --fix --max-warnings=0 -c .eslintrc.js",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\" --list-different",
"typescript": "tsc",
"test": "jest --config jest.config.json --passWithNoTests",
"verify": "concurrently 'yarn:lint' 'yarn:test' 'yarn:typescript'",
Expand Down

0 comments on commit ebfee3e

Please sign in to comment.