-
Notifications
You must be signed in to change notification settings - Fork 34
43 lines (39 loc) · 1.09 KB
/
cd.yml
File metadata and controls
43 lines (39 loc) · 1.09 KB
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
name: CD
on:
push:
branches:
- stable
permissions:
contents: read
id-token: write
jobs:
build:
name: Build, Test, and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
scope: '@ionic'
- name: 🔒 Configure Identity
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: 🟢 Ensure Latest npm
run: npm install -g npm@latest
shell: bash
- name: 📦 Install Dependencies
run: npm ci --no-package-lock
shell: bash
- name: 🔄 Bootstrap
run: npm run bootstrap -- --ignore-scripts
shell: bash
- name: 🚀 Release
run: npm run publish:ci -- --provenance
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}