EE-1467: use runner ubuntu-22.04 instead of ubuntu-latest #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '*.md' | |
branches: | |
- main | |
- master | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test | |
- name: Format | |
run: npm run fmtcheck | |
integration: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Turnstyle | |
uses: ./ # Uses an action in the root directory | |
with: | |
poll-interval-seconds: 10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy | |
run: sleep 180 |