Migrate CI from TravisCI to GitHub Actions #1004

Closed
bigfootjon wants to merge 8 commits from gh-actions into master
2 changed files with 53 additions and 77 deletions
Showing only changes of commit c7095a690a - Show all commits

View File

@@ -5,14 +5,12 @@ on: [push, pull_request]
jobs: jobs:
website: website:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Use Node.js 8 - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 8.x node-version: 12.x
zpao commented 2020-05-06 14:39:41 -07:00 (Migrated from github.com)
Review

AHHHH Node 8 EOL was last year. Let's at least use 10 (or 12)

AHHHH Node 8 EOL was last year. Let's at least use 10 (or 12)
bigfootjon commented 2020-05-06 15:26:17 -07:00 (Migrated from github.com)
Review

I just copied the Travis job ¯\_(ツ)_/¯

When I tried upgrading to a more recent version of node it broke the yarn build step :(

I just copied the Travis job ¯\\\_(ツ)\_/¯ When I tried upgrading to a more recent version of node it broke the `yarn build` step :(
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile --ignore-scripts run: yarn install --frozen-lockfile --ignore-scripts
working-directory: website working-directory: website