Unverified Commit 75b3db10 authored by daz's avatar daz
Browse files

Remove node warnings from workflows

- Use setup-node to control Node version used to build
- Use Node20 compatible actions in custom actions
parent f1361c71
Loading
Loading
Loading
Loading
+6 −2
Changes for .github/actions/build-dist/action.yml: 6 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -3,14 +3,18 @@ name: 'Build and upload distribution'
runs:
  using: "composite"
  steps: 
    - uses: actions/setup-node@v4
      with:
        node-version: 20
    - name: Build distribution
      shell: bash
      run: |
        npm -v
        node -v
        npm install
        npm run build
    - name: Upload distribution
      uses: actions/upload-artifact@v3
      uses: actions/upload-artifact@v4
      with:
        name: dist
        path: dist/
+1 −1
Changes for .github/actions/download-dist/action.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ runs:
  steps: 
    - name: Download dist
      if: ${{ env.DOWNLOAD_DIST == 'true' }}
      uses: actions/download-artifact@v3
      uses: actions/download-artifact@v4
      with:
        name: dist
        path: dist/
+3
Changes for .github/workflows/ci-verify-outputs.yml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ jobs:
    steps:
    - name: Checkout sources
      uses: actions/checkout@v4
    - uses: actions/setup-node@v4
      with:
        node-version: 20
    - name: Build
      run: |
        npm -v