mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
build: use yarn (#566)
This commit is contained in:
parent
d7c9fe4fd7
commit
828b013112
7 changed files with 3119 additions and 9772 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -32,11 +32,12 @@ jobs:
|
|||
uses: actions/setup-node@25316bbc1f10ac9d8798711f44914b1cf3c4e954 # renovate: tag=v2.4.0
|
||||
with:
|
||||
node-version: '12.x'
|
||||
cache: 'npm'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install project
|
||||
run: npm ci
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Lint
|
||||
run: npm run lint
|
||||
run: yarn lint
|
||||
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -49,10 +50,11 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # renovate: tag=v2.3.4
|
||||
|
||||
- name: Install project
|
||||
run: npm ci
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Build
|
||||
run: npm run build
|
||||
run: yarn build
|
||||
|
||||
- name: Configure renovate token
|
||||
run: |
|
||||
|
|
@ -105,12 +107,12 @@ jobs:
|
|||
with:
|
||||
node-version: '12.x'
|
||||
- name: Install project
|
||||
run: npm ci --ignore-scripts
|
||||
run: yarn install --frozen-lockfile --ignore-scripts
|
||||
- name: Get version
|
||||
id: release
|
||||
run: npm run release:version
|
||||
run: yarn release:version
|
||||
- name: Release
|
||||
run: npm run release -- "${{ steps.release.outputs.version }}"
|
||||
run: yarn release -- "${{ steps.release.outputs.version }}"
|
||||
- name: Get changelog section
|
||||
id: changelog
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue