Bump @babel/core from 7.23.9 to 7.24.6 #279
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: Pull request | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened] | |
jobs: | |
check_version: | |
name: "Check package.json version" | |
uses: whereby/github-actions/.github/workflows/[email protected] | |
with: | |
source_dir: src | |
test: | |
name: Format, Lint, and Test | |
runs-on: ${{ vars.PLATFORM }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Setup npmrc | |
run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Format | |
run: yarn format:check | |
- name: Lint | |
run: yarn lint | |
- name: Unit Test | |
run: yarn test:unit | |
canary_release: | |
name: Create canary release | |
needs: [check_version, test] | |
runs-on: ${{ vars.PLATFORM }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
NPM_TOKEN: ${{ secrets.WHEREBY_PUBLISH_GITHUB_PACKAGES }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare repository | |
run: git fetch --unshallow --tags | |
- name: Setup npmrc | |
run: echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Install | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Create Release | |
run: yarn run auto shipit |