chore(deps-dev): bump rimraf from 4.1.2 to 5.0.0 #383
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: Run checks | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
run-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.9.1 | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Node.js LTS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Setup cache | |
uses: bahmutov/npm-install@HEAD | |
- name: Install dependencies | |
run: npm t | |
- name: Test and build code | |
run: yarn validate | |
- name: Upload test reports | |
uses: codecov/codecov-action@v1 | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
with: | |
branches: | | |
[ | |
'main', | |
{ | |
name: 'beta', | |
prerelease: true | |
} | |
] |