Update dependency vue-loader to v15.10.2 #4494
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ASF-ui-ci | |
on: [push, pull_request] | |
env: | |
NODE_JS_VERSION: 'lts/*' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Setup Node.js with npm | |
uses: actions/[email protected] | |
with: | |
check-latest: true | |
node-version: ${{ env.NODE_JS_VERSION }} | |
- name: Verify Node.js | |
run: node -v | |
- name: Verify npm | |
run: npm -v | |
- name: Install npm modules for ASF-ui | |
run: npm ci --no-progress | |
- name: Build ASF-ui | |
run: npm run-script deploy --no-progress | |
- name: Test ASF-ui dev environment | |
run: npm run-script serve:ci --no-progress | |
- name: Upload latest strings for translation on Crowdin | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && startsWith(matrix.os, 'ubuntu-') }} | |
uses: crowdin/[email protected] | |
with: | |
crowdin_branch_name: main | |
config: '.github/crowdin.yml' | |
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }} | |
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }} | |
- name: Upload ASF-ui | |
uses: actions/[email protected] | |
with: | |
name: ${{ matrix.os }}_ASF-ui | |
path: dist |