Skip to content

v1.15.2

v1.15.2 #10

name: Upload main stats
on:
push:
branches: [ master ]
jobs:
build_and_upload:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Reconfigure git to use HTTPS authentication
uses: GuillaumeFalourd/SSH-to-HTTPS@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Build
run: npm run build:production; cp ./public/build-stats.json ./reference.json
- uses: actions/upload-artifact@v2
with:
name: main-stats
path: ./reference.json