mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 10:35:30 +03:00
20 lines
390 B
YAML
20 lines
390 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
release:
|
|
name: Try publishing npm@latest release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Node.js
|
|
uses: ./.github/actions/setup-node
|
|
- name: Try publishing to NPM
|
|
run: ./scripts/publish.sh
|
|
env:
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|