-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix ci build * fix ci publish * test * Revert "test" This reverts commit bd263ad.
- Loading branch information
1 parent
4cf0691
commit 6f00def
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,29 +17,28 @@ jobs: | |
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
submodules: 'recursive' | ||
node-version: 20 | ||
|
||
- name: setup yarn | ||
run: npm install -g yarn | ||
|
||
- name: install deps | ||
run: yarn install --immutable | ||
|
||
- name: build | ||
run: yarn build | ||
|
||
- name: git config email | ||
run: git config --local user.email [email protected] | ||
|
||
- name: git config name | ||
run: git config --local user.name Bodhibot | ||
|
||
- name: setup node env | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'yarn' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: install dependencies | ||
run: yarn install --immutable | ||
|
||
- name: build packages | ||
run: yarn build | ||
|
||
# Writes token to .yarnrc.yml. If written directly in .yarnrc.yml, it will cause an error | ||
- run: | | ||
echo npmAuthToken: "\${NPM_AUTH_TOKEN}" >> ./.yarnrc.yml | ||
|