update dependencies #339
Workflow file for this run
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
name: Publish canary package | |
on: | |
push: | |
branches-ignore: | |
- 'gh-pages' | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip canary')" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 20.10.0 | |
registry-url: 'https://registry.npmjs.org' | |
scope: '@datadog' | |
- run: yarn | |
- run: yarn build | |
- name: Add auth credentials for lerna | |
run: npm config set //registry.npmjs.org/:_authToken=${NPM_TOKEN} | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- run: yarn release:canary | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |