Skip to content

build(deps-dev): bump dotenv from 16.3.1 to 16.4.0 #1800

build(deps-dev): bump dotenv from 16.3.1 to 16.4.0

build(deps-dev): bump dotenv from 16.3.1 to 16.4.0 #1800

Workflow file for this run

name: ci
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Cache packages when the branch is not update-dependencies or dependabot/*
- name: Resolve caching
id: cache
if: ${{ github.ref_name != 'update-dependencies' && !startsWith(github.ref_name, 'dependabot/') }}
run: echo "::set-output name=PACKAGE::yarn"
- name: Use Node.js
uses: actions/setup-node@v4.0.1
with:
node-version-file: ".nvmrc"
cache: ${{ steps.cache.outputs.PACKAGE }}
cache-dependency-path: "**/yarn.lock"
scope: '@moonwalker'
- name: Install dependencies
run: yarn && yarn lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Cache packages when the branch is not update-dependencies or dependabot/*
- name: Resolve caching
id: cache
if: ${{ github.ref_name != 'update-dependencies' && !startsWith(github.ref_name, 'dependabot/') }}
run: echo "::set-output name=PACKAGE::yarn"
- name: Use Node.js
uses: actions/setup-node@v4.0.1
with:
node-version-file: ".nvmrc"
cache: ${{ steps.cache.outputs.PACKAGE }}
cache-dependency-path: "**/yarn.lock"
scope: '@moonwalker'
- name: Install dependencies
run: yarn && yarn lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn test
build:
needs:
- lint
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Cache packages when the branch is not update-dependencies or dependabot/*
- name: Resolve caching
id: cache
if: ${{ github.ref_name != 'update-dependencies' && !startsWith(github.ref_name, 'dependabot/') }}
run: echo "::set-output name=PACKAGE::yarn"
- name: Use Node.js
uses: actions/setup-node@v4.0.1
with:
node-version-file: ".nvmrc"
cache: ${{ steps.cache.outputs.PACKAGE }}
cache-dependency-path: "**/yarn.lock"
scope: '@moonwalker'
- name: Install dependencies
run: yarn && yarn lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn build
publish:
needs:
- build
if: contains(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Cache packages when the branch is not update-dependencies or dependabot/*
- name: Resolve caching
id: cache
if: ${{ github.ref_name != 'update-dependencies' && !startsWith(github.ref_name, 'dependabot/') }}
run: echo "::set-output name=PACKAGE::yarn"
- name: Use Node.js
uses: actions/setup-node@v4.0.1
with:
node-version-file: ".nvmrc"
cache: ${{ steps.cache.outputs.PACKAGE }}
cache-dependency-path: "**/yarn.lock"
scope: '@moonwalker'
- name: Install dependencies
run: yarn && yarn lerna bootstrap
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn build
- run: npm run release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}