-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (27 loc) · 832 Bytes
/
publish.yml
File metadata and controls
30 lines (27 loc) · 832 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
name: Publish
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # For git operations
id-token: write # < REQUIRED FOR OIDC
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: git config
run: |
git config --global user.name 'Invertase Publisher'
git config --global user.email 'oss@invertase.io'
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- name: publish package
run: |
yarn
yarn release-it --ci
env:
GITHUB_TOKEN: ${{ secrets.MIKE_HARDY_RELEASE_GITHUB_TOKEN }}