Skip to content

add only one test for ci #69

add only one test for ci

add only one test for ci #69

Workflow file for this run

name: Nodered Google Sheets to JSON Stream
on:
push:
branches:
- main
paths:
- '**.js'
- '**.json'
- '**.yml'
- '**.sh'
jobs:
setup-and-test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- shell: bash
env:
GOOGLE_SHEETS_AUTH_FILE: ${{ secrets.GOOGLE_SHEETS_AUTH_FILE }}
run: |
echo "$GOOGLE_SHEETS_AUTH_FILE"
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20
# - name: Set up Docker Compose
# run: |
# sudo rm /usr/local/bin/docker-compose
# curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /tmp/docker-compose
# chmod +x /tmp/docker-compose
# sudo mv /tmp/docker-compose /usr/local/bin/docker-compose
# - name: Start nodered
# run: npm run docker:start-nodered
# - name: Restore dependencies
# run: npm ci
# - name: Install Chromium browser only
# run: npx playwright install chromium --with-deps
# - name: install nodered custom module
# run: npm run docker:install-module
# - name: Run Playwright tests
# run: npm test
# env:
# GOOGLE_SHEETS_AUTH_FILE: ${{ secrets.GOOGLE_SHEETS_AUTH_FILE }}
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30
# - name: Clean up
# run: npm run docker:clean