Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add sample nuxt-nightly action #1336

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
37 changes: 0 additions & 37 deletions .github/workflows/autofix.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/e2e.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/inspect.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/nuxt-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: nuxt-nightly

on:
# schedule:
# - cron: "0 5 * * 1,3,5" # monday,wednesday,friday 5AM
workflow_dispatch:
push:
branches:
ci/nightly

jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: actions/setup-node@v4
- uses: actions/setup-node@v3

because bugs v4

actions/setup-node#878

with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install

- name: Nuxt Nightly
uses: danielroe/nuxt-nightly-action@5a73b8ffd230ea1299c32abf39c8d326d3afdf45
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

30 changes: 0 additions & 30 deletions .github/workflows/sync.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/test.yml

This file was deleted.