Merge pull request #37 from teclone/dependabot/npm_and_yarn/word-wrap… #7
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: Release | |
on: | |
push: | |
branches: [master] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run tests | |
run: yarn test | |
- name: Run build | |
run: yarn build | |
- name: Run release | |
run: yarn release | |
env: | |
GH_TOKEN: ${{secrets.GH_TOKEN}} | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} |