PullRequest and Export Airtable #182
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: PullRequest and Export Airtable | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
- name: Create .env file | |
run: | | |
touch .env | |
echo -e "AIRTABLE_API_KEY=${{ secrets.AIRTABLE_API_KEY }}" >> .env | |
echo -e "AIRTABLE_BASE_ID=${{ secrets.AIRTABLE_BASE_ID }}" >> .env | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --ignore-engines | |
- run: yarn export:airtable | |
- run: yarn build | |
- name: Test | |
run: yarn test | |
- name: craete pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: 'feat: Airtableの最新ルールを反映' |