add alternative login method #391
Workflow file for this run
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: PR check | |
on: pull_request | |
jobs: | |
build-snap: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: snapcore/action-build@v1 | |
tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
run: | | |
sudo snap install node --channel=18/stable --classic | |
npm install -g typescript | |
npm install -g ts-node | |
- name: Install project dependencies | |
run: yarn | |
- name: Run ght tests | |
run: yarn test | |
check-package-lock-sync: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
run: | | |
sudo snap install node --channel=18/stable --classic | |
- name: Install project dependencies | |
run: | | |
npm i --package-lock-only | |
- name: Check for modifications to generated files | |
run: | | |
if [[ -n "$(git status -s)" ]]; then | |
echo "Please run 'npm i --package-lock-only' then commit/push changes" | |
echo | |
git diff | |
exit 1 | |
fi |