Bump ws from 8.16.0 to 8.17.1 (#139) #24
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 updated packages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "yarn" | |
cache-dependency-path: "**/yarn.lock" | |
registry-url: "https://registry.npmjs.org" | |
scope: "@bucketco" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build packages | |
run: yarn build | |
- name: npm login | |
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish | |
run: yarn lerna publish from-package --no-private --yes |