build: use yarn (#566)

This commit is contained in:
Michael Kriese 2021-08-23 11:51:17 +02:00 committed by GitHub
parent d7c9fe4fd7
commit 828b013112
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 3119 additions and 9772 deletions

View file

@ -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: |