Skip to content

Merge pull request #8 from learn-with-me/dependabot/npm_and_yarn/foll… #8

Merge pull request #8 from learn-with-me/dependabot/npm_and_yarn/foll…

Merge pull request #8 from learn-with-me/dependabot/npm_and_yarn/foll… #8

name: Push to Main Check
on:
push:
branches:
- main
jobs:
release:
name: Build and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm i
- name: Release package
run: npm run finish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Finish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm i
npm run finish