Aggiunto il checkout nel functions_test. #66
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
on: | |
push: | |
branches: | |
- main | |
name: Test build status | |
jobs: | |
flutter_test: | |
name: Test with 'flutter test' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: "microsoft" | |
java-version: "17.x" | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run Flutter test(s) | |
run: flutter test | |
functions_test: | |
name: Test build of Firebase Cloud Functions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- run: | | |
npm install | |
npm run lint | |
npm run build | |
working-directory: functions |