forked from jaredwray/qified
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 939 Bytes
/
Copy pathrelease.yaml
File metadata and controls
46 lines (35 loc) · 939 Bytes
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
37
38
39
40
41
42
43
44
45
46
name: release
on:
workflow_dispatch:
release:
types: [released]
# OIDC trusted publishing to npm requires id-token: write so the job can mint
# the OIDC token that npm exchanges for a short-lived publish credential. No
# long-lived NPM_TOKEN is needed and provenance attestations are generated.
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Enable corepack
run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Test Services
run: pnpm test:services:start
- name: Wait for Services
run: sleep 5
- name: Testing
run: pnpm test
- name: Publish
run: pnpm publish:packages