Skip to content

Merge pull request #6 from DorijanH/bugfix/readme-changelog-template #17

Merge pull request #6 from DorijanH/bugfix/readme-changelog-template

Merge pull request #6 from DorijanH/bugfix/readme-changelog-template #17

Workflow file for this run

name: CI
# Triggering the workflow on PRs and pushes to relevant branches
on:
pull_request:
push:
branches:
- main
jobs:
# Job testing the Action
test:
name: Test
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v3
# Installing pnpm
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 8.x
# Defining what Node.js version to use
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
# Installing node dependencies using pnpm
- name: Pnpm install
run: pnpm install
# Building the Action
- name: Pnpm build
run: pnpm build
# Linting the Action
- name: Pnpm lint
run: pnpm lint
# Testing the Action (internally runs the package command before running tests to ensure latest code)
- name: Pnpm package and test
run: pnpm test