Skip to content

Commit

Permalink
Merge pull request #4 from laruiss/feat/configure-vitest-and-cypress-…
Browse files Browse the repository at this point in the history
…pour-nuxt3

feat/configure vitest and cypress pour nuxt3
  • Loading branch information
laruiss authored Dec 6, 2023
2 parents bde087e + d50d0c1 commit 1785a68
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 1,539 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release Please

on:
push:
branches:
- develop

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Release Please
id: release
uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
target-branch: main
- name: Checkout repository
uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./package.json ./README.md ./index.js ./src ./template-*
- run: npm publish
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
5 changes: 0 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ const FRAMEWORKS = [
name: 'Nuxt 3',
color: green,
variants: [
{
name: 'nuxt3',
display: 'JavaScript',
color: yellow
},
{
name: 'nuxt3-ts',
display: 'TypeScript',
Expand Down
13 changes: 0 additions & 13 deletions template-nuxt3/.editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions template-nuxt3/.eslintignore

This file was deleted.

46 changes: 0 additions & 46 deletions template-nuxt3/.eslintrc.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions template-nuxt3/.vscode/extensions.json

This file was deleted.

33 changes: 0 additions & 33 deletions template-nuxt3/.vscode/settings.json

This file was deleted.

Loading

0 comments on commit 1785a68

Please sign in to comment.