This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
chore(deps): update babel monorepo to v7.23.6 #415
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: master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out project | |
uses: actions/checkout@v2 | |
- name: Setting up node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Installing dependencies | |
run: yarn install | |
- name: Building project | |
run: yarn build && yarn build:copy | |
- name: Running tests | |
run: yarn test | |
- name: Running prettier | |
run: yarn prettier:check | |
- name: Uploading dist | |
uses: actions/upload-artifact@v1 | |
with: | |
name: dist | |
path: dist | |
release: | |
needs: build | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out project | |
uses: actions/checkout@v2 | |
- name: Setting up node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- name: Installing dependencies | |
run: yarn install | |
- name: Downloading dist | |
uses: actions/download-artifact@v1 | |
with: | |
name: dist | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: yarn release |