chore(deps): bump @babel/traverse from 7.22.5 to 7.23.2 #139
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: CI/CD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
test_build_release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [19] | |
env: | |
CI: true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js and yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
- name: Get yarn cache directory path | |
id: yarn-cache-path | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Cache yarn packages | |
id: yarn-cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache-path.outputs.dir }} | |
key: node-${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }} | |
restore-keys: | | |
node-${{ matrix.node-version }}-yarn- | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test | |
- name: Build | |
run: yarn build | |
# semantic-release will only run on pushes to main (see package.json) | |
# - name: Release | |
# run: yarn semantic-release | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |