-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (35 loc) · 895 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Publish nuxt-component-meta (Nightly)
on:
push:
branches:
- main
jobs:
nightly:
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4 # v4
- name: Add pnpm
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org/"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Prepare
run: pnpm dev:prepare
- name: Test
run: pnpm test
- name: Release Nightly
run: pnpm changelogen --bump --canary --publish --publishTag nightly
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_CONFIG_PROVENANCE: true