-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ci scripts to use yarn (#137)
- Loading branch information
1 parent
246fcf2
commit da12d5b
Showing
2 changed files
with
11 additions
and
13 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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
name: Publish Package to npmjs | ||
name: dmv/publis-to-npm | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
name: Build and publish to npm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.x" | ||
registry-url: "https://registry.npmjs.org" | ||
- run: npm ci | ||
- run: npm publish --access public | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_DMV_GRANULAR }} |
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