forked from e-adrien/suncalc-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 822 Bytes
/
deploy.yaml
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
name: Deploy
on:
push:
tags:
- "v*.*.*"
- "v*.*.*-*"
env:
CARGO_TERM_COLOR: always
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v4
- id: setup
name: Setup Environment
uses: actions/setup-node@v4
- id: toolchain
name: Setup Toolchain
run: corepack enable
- id: install
name: Install Dependencies
run: yarn install --no-immutable
- id: publish
name: Publish to Npm
run: yarn npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}