Skip to content

Commit

Permalink
Merge branch 'next' of github.com:DTCurrie/dice-boy into next
Browse files Browse the repository at this point in the history
  • Loading branch information
DTCurrie committed Sep 19, 2021
2 parents 638b26b + 03caef2 commit f5e0eb1
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI - main

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 16.x

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install pnpm and dependencies
run: npm i -g pnpm

- name: Install dependencies
run: pnpm install

- name: Run build
run: pnpm run build
39 changes: 39 additions & 0 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI - next

on:
push:
branches: [ next ]
pull_request:
branches: [ next ]

workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 16.x

- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- name: Install pnpm and dependencies
run: npm i -g pnpm

- name: Install dependencies
run: pnpm install

- name: Run build
run: pnpm run build

0 comments on commit f5e0eb1

Please sign in to comment.