chore(deps): bump fast-xml-parser from 5.4.1 to 5.5.7 in /storage-label-images/functions #3035
This file contains hidden or 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: Testing | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| nodejs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: ['22'] | |
| name: node.js_${{ matrix.node }}_test | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| cache-dependency-path: '**/package-lock.json' | |
| - name: Cache Firebase emulators | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/firebase/emulators | |
| key: | |
| ${{ runner.os }}-firebase-emulators-${{ | |
| hashFiles('_emulator/firebase.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-firebase-emulators- | |
| - name: Cache Firebase tools | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.npm/firebase-tools | |
| key: ${{ runner.os }}-firebase-tools-13.35.1 | |
| - name: Cache Lerna packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| node_modules | |
| */*/node_modules | |
| key: ${{ runner.os }}-lerna-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-lerna- | |
| - name: Install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: Bootstrap monorepo dependencies | |
| run: npx lerna bootstrap --no-ci --ignore-scripts | |
| - name: Build emulator functions | |
| run: | | |
| cd _emulator/functions | |
| npm ci --ignore-scripts | |
| - name: Install Firebase CLI | |
| uses: nick-invision/retry@v1 | |
| with: | |
| timeout_minutes: 10 | |
| retry_wait_seconds: 60 | |
| max_attempts: 3 | |
| command: npm install -g firebase-tools@13.35.1 | |
| - name: Reset emulator ports | |
| run: npm run reset:emulator | |
| working-directory: _emulator | |
| - name: Start Firebase emulator in background | |
| run: | | |
| nohup firebase emulators:start --project=demo-gcp > emulator.log 2>&1 & | |
| echo $! > emulator.pid | |
| working-directory: _emulator | |
| - name: Wait for emulator startup | |
| run: sleep 30 | |
| - name: Run tests | |
| run: lerna run test --concurrency 1 | |
| - name: Stop Firebase emulator | |
| if: always() | |
| run: | | |
| if [ -f _emulator/emulator.pid ]; then | |
| kill $(cat _emulator/emulator.pid) || true | |
| fi |