From 949428b79d24dd12a84372387a34e3cb93dc6c81 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:24:14 -0700 Subject: [PATCH] ci: first draft GHA workflow --- .circleci/{config.yml => config-nope.yml} | 0 .github/workflows/ci-cd.yml | 84 +++++++++++++++++++++++ .nvmrc | 1 + 3 files changed, 85 insertions(+) rename .circleci/{config.yml => config-nope.yml} (100%) create mode 100644 .github/workflows/ci-cd.yml create mode 100644 .nvmrc diff --git a/.circleci/config.yml b/.circleci/config-nope.yml similarity index 100% rename from .circleci/config.yml rename to .circleci/config-nope.yml diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml new file mode 100644 index 0000000..c9006b7 --- /dev/null +++ b/.github/workflows/ci-cd.yml @@ -0,0 +1,84 @@ +name: CI/CD + +on: + push: + workflow_dispatch: + +concurrency: + group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}' + +permissions: + contents: write # publish a GitHub release + pages: write # deploy to GitHub Pages + issues: write # comment on released issues + pull-requests: write # comment on released pull requests + +jobs: + ci-cd: + strategy: + matrix: + os: + - macos-latest + - windows-latest + runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash + environment: + name: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: 'npm' + node-version-file: '.nvmrc' + - name: Debug info + run: | + cat <