2021-10-13 18:44:32 +02:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
2021-10-13 18:49:51 +02:00
|
|
|
build:
|
|
|
|
name: Build
|
2021-10-13 18:44:32 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-02-24 18:28:00 +01:00
|
|
|
- uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: ~/.pnpm-store
|
|
|
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-
|
2021-10-13 18:44:32 +02:00
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-08-28 20:12:09 +02:00
|
|
|
node-version: '16'
|
2022-02-24 18:28:00 +01:00
|
|
|
registry-url: 'https://registry.npmjs.org'
|
|
|
|
- uses: pnpm/action-setup@v2.1.0
|
|
|
|
with:
|
2022-08-28 20:12:09 +02:00
|
|
|
version: 7.8.0
|
2022-02-24 18:28:00 +01:00
|
|
|
run_install: true
|
|
|
|
- run: pnpm run build
|
2021-10-13 18:44:32 +02:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
2022-03-10 01:32:29 +01:00
|
|
|
commit_message: Update build artifacts
|