Updated config files and github actions #8
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: golangci-lint | |
on: [push, pull_request] | |
jobs: | |
saga-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.x | |
cache: yarn | |
cache-dependency-path: ./rpgsaga/saga/yarn.lock | |
- name: Lint Saga | |
run: | | |
cd ./rpgsaga/saga | |
yarn install --immutable --immutable-cache --check-cache | |
yarn run test | |
- name: Test Saga | |
run: | | |
cd ./rpgsaga/saga | |
yarn install --immutable --immutable-cache --check-cache | |
yarn run test | |