From 00554b2838f51f4cc40a2202e2eb5e385edb1aa8 Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Wed, 6 Mar 2024 10:49:08 +0300 Subject: [PATCH] (chore) Bump Github Actions --- .github/workflows/e2e.yml | 2 +- .github/workflows/node.js.yml | 30 +++++++++++++++--------------- package.json | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 26ea681..3b80a92 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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 diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 06706e2..9fc4b2c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -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: | @@ -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 }}" @@ -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: | @@ -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 @@ -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" diff --git a/package.json b/package.json index 3a27e33..a2ddea7 100644 --- a/package.json +++ b/package.json @@ -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",