chore(deps): bump react-tooltip from 4.2.21 to 5.21.4 #1817
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: Build-Deploy-Npm-Canary | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
paths-ignore: | |
- package.json | |
jobs: | |
build-and-push-to-npm: | |
permissions: | |
contents: read | |
packages: write | |
name: Bygg og push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
registry-url: "https://npm.pkg.github.com" | |
- name: Prepare repository | |
run: git checkout "${GITHUB_REF:11}" | |
- name: Installer dependencies | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
run: | | |
yarn | |
yarn build | |
yarn build-storybook | |
- name: Login | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "Team familie" | |
git remote set-url origin https://github-actions[bot]:[email protected]/$GITHUB_REPOSITORY.git | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create a .npmrc file for the github package repository | |
uses: FerLuisxd/create-npmrc@3 | |
with: | |
org_name: navikt | |
env: | |
AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Publish | |
run: | | |
npm run publish:canary:ci |