This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /example #1308
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: Install dependencies | |
uses: bahmutov/npm-install@HEAD | |
- 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 | |
} | |
] |