Created
July 19, 2023 10:06
-
-
Save barisbll/29cff2c851ebf44e0704ebbced72b45b to your computer and use it in GitHub Desktop.
dummy-lib main workflow file
This file contains hidden or 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: 'CI' | |
on: | |
pull_request: | |
branches: | |
- '**' | |
- '!main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 6.0.2 | |
- run: pnpm i | |
install: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 6.0.2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- run: pnpm i | |
# add your test, lint steps here | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment