Add release version to github action output (#1300) #1998
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
HUSKY: '0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn test | |
- run: yarn lint --fix | |
- run: yarn prettier | |
- run: yarn build | |
- name: correct vercel/ncc crlf output | |
run: sed -i 's/\x0D$//' ./dist/index.js | |
- name: check for unstaged files | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: .github/no-unstaged-files.sh |