diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 60bc55b..75ff941 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,11 +1,21 @@ name: deploy on: [push, workflow_dispatch] +defaults: + run: + working-directory: launchpad + jobs: test: runs-on: ubuntu-latest - defaults: - run: - working-directory: launchpad + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 + - run: npm clean-install + - run: npm run test + + deploy: + needs: test + runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 @@ -16,6 +26,7 @@ jobs: with: path: launchpad/dist - uses: actions/deploy-pages@v5 - permissions: - pages: write - id-token: write \ No newline at end of file + +permissions: + pages: write + id-token: write \ No newline at end of file diff --git a/launchpad/ship.config.json b/launchpad/ship.config.json index a558d1b..8ffe28c 100644 --- a/launchpad/ship.config.json +++ b/launchpad/ship.config.json @@ -1,4 +1,5 @@ { + "shipName": "DeathStar", "shipName": "Deathstar", "color": "#22d3ee", "shipModel": "fighter",