Sha256: da7f06f13c594ebba6767f9c88413af4db88f3f64b0863e81e24fc6d68224c6f

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

name: Build
on:
  push:
    branches:
      - trunk
  pull_request:
    branches:
      - trunk

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-node@v2
        with:
          node-version: 14

      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 3.0.0

      - uses: jwlawson/actions-setup-cmake@v1.8
        with:
          cmake-version: "3.16.x"

      - name: Install dependencies
        run: |
          bundle install
          yarn install --pure-lockfile

      - name: rspec
        run: bundle exec rake spec

      - name: cucumber
        run: bundle exec rake features

      - name: eleventy
        run: make _site

      - uses: nwtgck/actions-netlify@v1.1
        with:
          publish-dir: "./_site"
          production-branch: trunk
          github-token: ${{ secrets.GITHUB_TOKEN }}
          deploy-message: ${{ github.event.head_commit.message }}
          enable-pull-request-comment: false
          enable-commit-comment: false
        env:
          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
        timeout-minutes: 1

      - uses: dawidd6/action-publish-gem@v1
        continue-on-error: true
        if: ${{ github.ref == 'refs/heads/trunk' }}
        with:
          api_key: ${{secrets.RUBYGEMS_API_KEY}}
          github_token: ${{secrets.GITHUB_TOKEN}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppl-4.0.3 .github/workflows/build.yml