Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
da076d96
Commit
da076d96
authored
May 25, 2021
by
Liam Horne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: migrate to github action tool
parent
e868bb8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
publish-canary.yml
.github/workflows/publish-canary.yml
+9
-12
No files found.
.github/workflows/publish-canary.yml
View file @
da076d96
...
@@ -44,21 +44,18 @@ jobs:
...
@@ -44,21 +44,18 @@ jobs:
-
name
:
Install Dependencies
-
name
:
Install Dependencies
run
:
yarn
run
:
yarn
-
name
:
Create .npmrc
-
name
:
Build
run
:
|
run
:
yarn build
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
-
name
:
Ignore Changesets
EOF
run
:
rm -rf .changeset/*.md
env
:
NPM_TOKEN
:
${{ secrets.NPM_TOKEN }}
-
name
:
Publish To NPM or Create Release Pull Request
-
name
:
Publish To NPM or Create Release Pull Request
uses
:
changesets/action@master
id
:
changesets
id
:
changesets
run
:
|
with
:
rm -rf .changeset/*.md
version
:
yarn changeset version --snapshot
yarn build
publish
:
yarn changeset publish --tag canary
yarn changeset version --snapshot
yarn changeset publish --tag canary
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN
:
${{ secrets.NPM_TOKEN }}
NPM_TOKEN
:
${{ secrets.NPM_TOKEN }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment