This repository has been archived by the owner on Dec 29, 2024. It is now read-only.
chore(deps): bump @babel/traverse from 7.22.20 to 7.23.2 #2
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: Next Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint-and-build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Fetch all commits | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Run install | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install # will run `yarn install` command | |
- name: Lint Code Base | |
uses: github/super-linter@v5 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: "master" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LINTER_RULES_PATH: / | |
CSS_FILE_NAME: .stylelintrc.json | |
VALIDATE_TYPESCRIPT_STANDARD: false | |
- run: yarn add --immutable --immutable-cache --check-cache | |
- name: next cache | |
id: yarn-cache-dir-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT" | |
- uses: actions/cache@v3 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Semantic Versioning | |
id: versioning | |
uses: PaulHatch/[email protected] | |
with: | |
branch: master | |
tag_prefix: "v" | |
major_pattern: "BREAKING CHANGE" | |
minor_pattern: "feat" | |
format: "v${major}.${minor}.${patch}-prerelease${increment}" | |
# fix is the default pattern so we don't need to specify it | |
- name: Create Release | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.github_token }} | |
with: | |
tag_name: ${{ steps.versioning.outputs.version }} | |
release_name: ${{ steps.versioning.outputs.version }} | |
prerelease: true | |
# create a pre-release for every push to master |