forked from cfug/flutter.cn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
247 changed files
with
4,610 additions
and
962 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ env: | |
NODE_VERSION: 20 | ||
|
||
jobs: | ||
|
||
test: | ||
name: Check excerpts and run tests | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'cfug/flutter.cn' | ||
strategy: | ||
|
@@ -42,7 +42,29 @@ jobs: | |
run: make test | ||
continue-on-error: ${{ matrix.experimental }} | ||
|
||
# linkcheck: | ||
# name: Build site and check links | ||
# runs-on: ubuntu-latest | ||
# if: ${{ github.ref != 'refs/heads/main' }} | ||
# steps: | ||
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
# with: | ||
# submodules: recursive | ||
# - name: Build site and check links | ||
# run: make build BUILD_CONFIGS=_config.yml,_config_stage.yml | ||
# - name: Install Node for Firebase install | ||
# uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | ||
# with: | ||
# node-version: ${{ env.NODE_VERSION }} | ||
# - name: Install Firebase CLI | ||
# run: npm install -g [email protected] | ||
# - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | ||
# with: | ||
# sdk: stable | ||
# - run: tool/check-links.sh | ||
|
||
deploy: | ||
name: Deploy to production | ||
needs: test | ||
runs-on: ubuntu-latest | ||
if: | | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,9 @@ VOLUME /flutter | |
# NOTE You will get a warning "Woah! You appear to be trying to run flutter as root." | ||
# and this is to be disregarded since this image is never deployed to production. | ||
RUN flutter doctor | ||
RUN flutter --version | ||
RUN flutter config --no-analytics \ | ||
&& flutter config --no-cli-animations \ | ||
&& flutter --version | ||
RUN dart pub get | ||
|
||
|
||
|
@@ -67,9 +69,7 @@ RUN mkdir -p /etc/apt/keyrings \ | |
&& npm install -g npm # Ensure latest npm | ||
|
||
# Install global Firebase CLI | ||
RUN npm install -g [email protected] | ||
|
||
|
||
# RUN npm install -g [email protected] | ||
|
||
# ============== FLUTTER CODE TESTS ============== | ||
FROM flutter AS tests | ||
|
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.