Skip to content

Commit

Permalink
🚧 progress: First draft for smoke-testing build.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Mar 24, 2024
1 parent 44fce86 commit f716113
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci:build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,66 @@ jobs:
runs-on: ${{ matrix.platform }}

timeout-minutes: 15

outputs:
node-version: ${{ steps.meteor-node.outputs.version }}

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install 💾
uses: meteor-actions/install@v3

- name: Get Meteor's Node version
id: meteor-node
run: |
echo \
"version=$(meteor node --version)" \
>> "$GITHUB_OUTPUT"
- name: Cache build 💽
uses: meteor-actions/cache-build@v3
with:
key: build

- name: Build 🏗️
run: meteor npm run build -- ./dist --architecture ${{ matrix.architecture }}

- name: Archive build 💽
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
retention-days: 1


test:
needs:
- build

strategy:
matrix:
platform:
- ubuntu-latest

runs-on: ${{ matrix.platform }}

timeout-minutes: 1

steps:
- name: Load build 💽
uses: actions/download-artifact@v4
with:
name: dist
path: dist

- uses: actions/setup-node@v3
with:
node-version: ${{ needs.build.outputs.node-version }}

- name: Node WIP
run: node --version

- name: Dist WIP
run: ls -la dist

0 comments on commit f716113

Please sign in to comment.