Skip to content

Commit 31a32d2

Browse files
committed
fix(next): prepare for next
1 parent 963fb44 commit 31a32d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+625
-3067
lines changed

.github/workflows/next.yml

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Next
2+
on:
3+
push:
4+
branches:
5+
- next
6+
7+
jobs:
8+
install:
9+
if: "!contains(github.event.head_commit.message, 'skip ci')"
10+
name: Install
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
node: [19]
17+
18+
steps:
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node }}
22+
- name: Checkout Repo
23+
uses: actions/checkout@v3
24+
- name: cache node_modules
25+
uses: actions/cache@v3
26+
id: cache
27+
with:
28+
path: |
29+
node_modules
30+
~/.cache/ms-playwright/
31+
~\AppData\Local\ms-playwright\
32+
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
33+
- name: Install Dependencies
34+
if: steps.cache.outputs.cache-hit != 'true'
35+
run: npm ci
36+
37+
- name: Lint
38+
run: npm run lint
39+
40+
- name: Test
41+
run: npm run test
42+
43+
semantic-version:
44+
name: Semantic Release
45+
needs: install
46+
runs-on: ${{ matrix.os }}
47+
48+
strategy:
49+
matrix:
50+
os: [ubuntu-latest]
51+
node: [19]
52+
53+
steps:
54+
- uses: actions/setup-node@v3
55+
with:
56+
node-version: ${{ matrix.node }}
57+
- name: Checkout Repo
58+
uses: actions/checkout@v3
59+
- name: cache node_modules
60+
uses: actions/cache@v3
61+
id: cache
62+
with:
63+
path: |
64+
node_modules
65+
~/.cache/ms-playwright/
66+
~\AppData\Local\ms-playwright\
67+
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
68+
- name: Versioning
69+
env:
70+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
73+
run: |
74+
npx -p pinst -p @nuxt/module-builder -p semantic-release -p @semantic-release/git -p @semantic-release/changelog -p @semantic-release/exec -p @semantic-release/github semantic-release --provider=github

.releaserc

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
{
99
"name": "beta",
1010
"prerelease": true
11+
},
12+
{
13+
"name": "next",
14+
"prerelease": true
1115
}
1216
],
1317
"plugins": [
@@ -39,4 +43,4 @@
3943
"@semantic-release/github"
4044
]
4145
]
42-
}
46+
}

build.config.mjs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export default {
2+
failOnWarn: false,
3+
externals: [
4+
'glob',
5+
'consola',
6+
'change-case',
7+
'pathe',
8+
'hash-sum',
9+
'browserslist-useragent-regexp',
10+
'deepmerge',
11+
'defu',
12+
'dynamic-class-list',
13+
'probe-image-size',
14+
'serialize-to-js',
15+
'sort-css-media-queries',
16+
'vue-lazy-hydration'
17+
]
18+
};

0 commit comments

Comments
 (0)